Merge "fix comparision of security group rules"

This commit is contained in:
Jenkins 2017-08-04 20:27:31 +00:00 committed by Gerrit Code Review
commit 5d0af87081
1 changed files with 1 additions and 1 deletions

View File

@ -357,7 +357,7 @@ def _are_identical_rules(rule1, rule2):
for key, value in rule.items():
if (value is not None and value != -1 and
value != '0.0.0.0/0' and
key not in ['id', 'tenant_id', 'security_group_id',
key not in ['id', 'tenant_id', 'security_group_id', 'tags',
'description', 'revision', 'revision_number',
'created_at', 'updated_at', 'project_id']):
dict[key] = str(value)