1
0
Fork 0
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:
wulonghui 2015-06-25 00:26:46 +08:00
parent e0e445434f
commit df56ce5f47

View file

@ -453,7 +453,7 @@ func (d *driver) getNetwork(id types.UUID) (*bridgeNetwork, error) {
return nw, nil
}
return nil, nil
return nil, types.NotFoundErrorf("network not found: %s", id)
}
func parseNetworkGenericOptions(data interface{}) (*networkConfiguration, error) {