1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

Fixed bad handling of "container not found" error
This commit is contained in:
Michael Crosby 2015-02-24 13:23:34 -08:00
commit 478a9462e8

View file

@ -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 (