Fix string formatting in access-deny API error message
TrivialFix Change-Id: I5288dcbfaae3ec01d311275774e6616fb2f7928d
This commit is contained in:
parent
c4da03274c
commit
58757a1e8f
|
@ -351,7 +351,7 @@ class ShareMixin(object):
|
|||
msg = _("Access rules cannot be added while the share or any of "
|
||||
"its replicas or migration copies has its "
|
||||
"access_rules_status set to %(instance_rules_status)s. "
|
||||
"Deny any rules in %(rule_state) state and try "
|
||||
"Deny any rules in %(rule_state)s state and try "
|
||||
"again.") % {
|
||||
'instance_rules_status': constants.SHARE_INSTANCE_RULES_ERROR,
|
||||
'rule_state': constants.ACCESS_STATE_ERROR,
|
||||
|
|
Loading…
Reference in New Issue