Merge "Fix internal error when floating ip network is not found by name"
This commit is contained in:
commit
f48271880f
@ -806,7 +806,9 @@ class NetworkCommonCloudMixin(openstackcloud._OpenStackCloudMixin):
|
||||
if not network_id:
|
||||
if network_name_or_id:
|
||||
try:
|
||||
network = self.network.find_network(network_name_or_id)
|
||||
network = self.network.find_network(
|
||||
network_name_or_id, ignore_missing=False
|
||||
)
|
||||
except exceptions.NotFoundException:
|
||||
raise exceptions.NotFoundException(
|
||||
"unable to find network for floating ips with ID "
|
||||
|
Loading…
x
Reference in New Issue
Block a user