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:
commit
478a9462e8
1 changed files with 1 additions and 1 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Reference in a new issue