浏览代码

Add continue on error in mountspec backport

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Brian Goff 8 年之前
父节点
当前提交
d6e1cb7cbf
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      daemon/volumes.go

+ 1 - 0
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 {