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:
Wei Wang 2014-08-12 22:59:18 +08:00
parent 71fe4a6811
commit 8fd3775140
1 changed files with 1 additions and 1 deletions

View File

@ -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):