Merge pull request #33209 from cpuguy83/continue_on_err
Add continue on error in mountspec backport Upstream-commit: d12b2387d7d371b543db0c6571b3c686b59d7f4d Component: engine
This commit is contained in:
@@ -281,6 +281,7 @@ func (daemon *Daemon) backportMountSpec(container *container.Container) {
|
||||
from, _, err := volume.ParseVolumesFrom(fromSpec)
|
||||
if err != nil {
|
||||
logrus.WithError(err).WithField("id", container.ID).Error("Error reading volumes-from spec during mount spec backport")
|
||||
continue
|
||||
}
|
||||
fromC, err := daemon.GetContainer(from)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user