Add volume events.
Signed-off-by: David Calavera <david.calavera@gmail.com> Upstream-commit: 9d12d093009d3c4bf3bd4ebad3f8327c36d2d584 Component: engine
This commit is contained in:
@ -156,7 +156,7 @@ func (daemon *Daemon) Cleanup(container *container.Container) {
|
||||
daemon.unregisterExecCommand(container, eConfig)
|
||||
}
|
||||
|
||||
if err := container.UnmountVolumes(false); err != nil {
|
||||
if err := container.UnmountVolumes(false, daemon.LogVolumeEvent); err != nil {
|
||||
logrus.Warnf("%s cleanup: Failed to umount volumes: %v", container.ID, err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user