Log error from unmountVolumes on cleanup
| ... | ... |
@@ -347,7 +347,9 @@ func (container *Container) cleanup() {
|
| 347 | 347 |
container.daemon.unregisterExecCommand(eConfig) |
| 348 | 348 |
} |
| 349 | 349 |
|
| 350 |
- container.unmountVolumes(false) |
|
| 350 |
+ if err := container.unmountVolumes(false); err != nil {
|
|
| 351 |
+ logrus.Warnf("%s cleanup: Failed to umount volumes: %v", container.ID, err)
|
|
| 352 |
+ } |
|
| 351 | 353 |
} |
| 352 | 354 |
|
| 353 | 355 |
// killSig sends the container the given signal. This wrapper for the |