Fix a missing i18n support in security_group_rule.py
Change-Id: Id1459366ccf894275a11c2af840568d4fd114e18
This commit is contained in:
parent
7cda2b2a06
commit
2d7a02f2ff
@ -526,8 +526,8 @@ class ShowSecurityGroupRule(common.NetworkAndComputeShowOne):
|
||||
break
|
||||
|
||||
if obj is None:
|
||||
msg = _("Could not find security group rule with ID ") + \
|
||||
parsed_args.rule
|
||||
msg = _("Could not find security group rule "
|
||||
"with ID '%s'") % parsed_args.rule
|
||||
raise exceptions.CommandError(msg)
|
||||
|
||||
# NOTE(rtheis): Format security group rule
|
||||
|
Loading…
x
Reference in New Issue
Block a user