mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #957 from campbellr/issue914
Fix error message on bridge network creation conflict.
This commit is contained in:
commit
a8d59fda75
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ func (d *driver) createNetwork(config *networkConfiguration) error {
|
||||||
nw.Unlock()
|
nw.Unlock()
|
||||||
if err := nwConfig.Conflicts(config); err != nil {
|
if err := nwConfig.Conflicts(config); err != nil {
|
||||||
return types.ForbiddenErrorf("cannot create network %s (%s): conflicts with network %s (%s): %s",
|
return types.ForbiddenErrorf("cannot create network %s (%s): conflicts with network %s (%s): %s",
|
||||||
nwConfig.BridgeName, config.ID, nw.id, nw.config.BridgeName, err.Error())
|
config.ID, config.BridgeName, nwConfig.ID, nwConfig.BridgeName, err.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue