From 6ce3bf965e7236f0387472944d1ac0c9f122f28f Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Mon, 15 May 2017 15:49:07 -0400 Subject: [PATCH] Add continue on error in mountspec backport Signed-off-by: Brian Goff Upstream-commit: d6e1cb7cbfe4b604d074814f00f654f5c545a71a Component: engine --- components/engine/daemon/volumes.go | 1 + 1 file changed, 1 insertion(+) diff --git a/components/engine/daemon/volumes.go b/components/engine/daemon/volumes.go index a01e1369bb..26204338eb 100644 --- a/components/engine/daemon/volumes.go +++ b/components/engine/daemon/volumes.go @@ -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 {