1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #8773 from mrevilme/ec2_fix_instances_list

Always return a list even if its empty.
This commit is contained in:
James Cammarata 2014-09-02 10:02:06 -05:00
commit 21ed2baadf

View file

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