mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix typo in cloud/amazon/ec2_vpc_nacl_facts (#27534)
This commit is contained in:
parent
be58fa979d
commit
3d20a2ea82
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ def list_ec2_vpc_nacls(connection, module):
|
|||
if 'entries' in nacl:
|
||||
nacl['egress'] = [nacl_entry_to_list(entry) for entry in nacl['entries']
|
||||
if entry['rule_number'] != 32767 and entry['egress']]
|
||||
nacl['ingress'] = [nacl_entry_to_list(e) for entry in nacl['entries']
|
||||
nacl['ingress'] = [nacl_entry_to_list(entry) for entry in nacl['entries']
|
||||
if entry['rule_number'] != 32767 and not entry['egress']]
|
||||
del nacl['entries']
|
||||
if 'associations' in nacl:
|
||||
|
|
Loading…
Reference in a new issue