mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-21 21:35:51 +00:00
Merge pull request #10980 from miminar/fix-volumes-from
Fixed bad handling of "container not found" error
This commit is contained in:
+1
-1
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user