1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

daemon:containerStart() fix unhandled error for saveApparmorConfig

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 1250e42a43)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2019-08-29 20:28:58 +02:00
parent 9077436e6e
commit e6ef2b0641
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -161,7 +161,7 @@ func (daemon *Daemon) containerStart(container *container.Container, checkpoint
container.HasBeenManuallyStopped = false container.HasBeenManuallyStopped = false
} }
if daemon.saveApparmorConfig(container); err != nil { if err := daemon.saveApparmorConfig(container); err != nil {
return err return err
} }