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