Update error return in bridge driver's getNetwork

This commit is contained in:
wulonghui
2015-06-25 19:33:46 +08:00
parent 1aaf1047fd
commit 7df8d3eb4c
+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) {