Browse Source

Merge pull request #10980 from miminar/fix-volumes-from

Fixed bad handling of "container not found" error
Michael Crosby 10 years ago
parent
commit
478a9462e8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      daemon/volumes.go

+ 1 - 1
daemon/volumes.go

@@ -279,7 +279,7 @@ func (container *Container) applyVolumesFrom() error {
 
 		c, err := container.daemon.Get(id)
 		if err != nil {
-			return err
+			return fmt.Errorf("Could not apply volumes of non-existent container %q.", id)
 		}
 
 		var (