mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
fix for security group description crash (#38108)
This commit is contained in:
parent
d25420bbb9
commit
5d2c23e2a3
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ def compare_rules(r, rule):
|
||||||
matched = True
|
matched = True
|
||||||
if rule.get('description', None) != r['description']:
|
if rule.get('description', None) != r['description']:
|
||||||
changed = True
|
changed = True
|
||||||
r['description'] = rule['description']
|
r['description'] = rule.get('description', None)
|
||||||
if rule['protocol'] != r['protocol']:
|
if rule['protocol'] != r['protocol']:
|
||||||
changed = True
|
changed = True
|
||||||
r['protocol'] = rule['protocol']
|
r['protocol'] = rule['protocol']
|
||||||
|
|
Loading…
Reference in a new issue