Fix dumb error message typo
Change-Id: I7f77532dd13f8200d8b2ccfc6bbe740a31f996a9
This commit is contained in:
parent
75ebfd7137
commit
5f6ffc4b14
|
@ -150,7 +150,7 @@ class BaseNeutronDriver(base.AbstractNetworkDriver):
|
||||||
resource_type)(resource)
|
resource_type)(resource)
|
||||||
except neutron_client_exceptions.NotFound:
|
except neutron_client_exceptions.NotFound:
|
||||||
message = _('{resource_type} not found '
|
message = _('{resource_type} not found '
|
||||||
'({resource_type} id: {resource_id}.').format(
|
'({resource_type} id: {resource_id}).').format(
|
||||||
resource_type=resource_type, resource_id=resource_id)
|
resource_type=resource_type, resource_id=resource_id)
|
||||||
raise getattr(base, '%sNotFound' %
|
raise getattr(base, '%sNotFound' %
|
||||||
resource_type.capitalize())(message)
|
resource_type.capitalize())(message)
|
||||||
|
|
Loading…
Reference in New Issue