mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update error return in bridge driver's getNetwork
This commit is contained in:
parent
e0e445434f
commit
df56ce5f47
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ func (d *driver) getNetwork(id types.UUID) (*bridgeNetwork, error) {
|
||||||
return nw, nil
|
return nw, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil, nil
|
return nil, types.NotFoundErrorf("network not found: %s", id)
|
||||||
}
|
}
|
||||||
|
|
||||||
func parseNetworkGenericOptions(data interface{}) (*networkConfiguration, error) {
|
func parseNetworkGenericOptions(data interface{}) (*networkConfiguration, error) {
|
||||||
|
|
Loading…
Reference in a new issue