mirror of
https://github.com/clearlinux/libnetwork.git
synced 2026-10-04 07:48:30 +00:00
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