mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #33209 from cpuguy83/continue_on_err
Add continue on error in mountspec backport
This commit is contained in:
commit
d12b2387d7
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue