mirror of
https://github.com/clearlinux/libnetwork.git
synced 2026-08-26 18:17:24 +00:00
Merge pull request #328 from wulonghui/wulonghui-patch-3
Update error return in bridge driver's getNetwork
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user