Merge "Fix dumb error message typo"

This commit is contained in:
Jenkins 2017-04-19 04:13:00 +00:00 committed by Gerrit Code Review
commit 4379e45a4d
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ class BaseNeutronDriver(base.AbstractNetworkDriver):
resource_type)(resource)
except neutron_client_exceptions.NotFound:
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)
raise getattr(base, '%sNotFound' %
resource_type.capitalize())(message)