1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #328 from wulonghui/wulonghui-patch-3

Update error return in bridge driver's getNetwork
This commit is contained in:
Jana Radhakrishnan 2015-06-24 23:59:54 -07:00
commit ce88039f44

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) {