SecurityGroupRuleExists should point out rule id inseand of group id
When we get a SecurityGroupRuleExists, we want to get the rule id instaed of group id, and this is what the fucntion _check_for_duplicate_rules() does. Change-Id: I9b526d9829582cb26bfda98bcaf1704fe8681cbe Closes-bug: #1354343
This commit is contained in:
parent
f43f89b809
commit
15940369d3
@ -103,7 +103,7 @@ class DuplicateSecurityGroupRuleInPost(qexception.InUse):
|
||||
|
||||
|
||||
class SecurityGroupRuleExists(qexception.InUse):
|
||||
message = _("Security group rule already exists. Group id is %(id)s.")
|
||||
message = _("Security group rule already exists. Rule id is %(id)s.")
|
||||
|
||||
|
||||
class SecurityGroupRuleParameterConflict(qexception.InvalidInput):
|
||||
|
Loading…
Reference in New Issue
Block a user