mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Always return a list even if its empty.
This commit is contained in:
@@ -660,7 +660,7 @@ def enforce_count(module, ec2):
|
||||
|
||||
changed = None
|
||||
checkmode = False
|
||||
instance_dict_array = None
|
||||
instance_dict_array = []
|
||||
changed_instance_ids = None
|
||||
|
||||
if len(instances) == exact_count:
|
||||
|
||||
Reference in New Issue
Block a user