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:
parent
9077436e6e
commit
e6ef2b0641
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue