Merge pull request #8773 from mrevilme/ec2_fix_instances_list

Always return a list even if its empty.
reviewable/pr18780/r1
James Cammarata 10 years ago
commit 3bd4acb7af

@ -660,7 +660,7 @@ def enforce_count(module, ec2):
changed = None changed = None
checkmode = False checkmode = False
instance_dict_array = None instance_dict_array = []
changed_instance_ids = None changed_instance_ids = None
if len(instances) == exact_count: if len(instances) == exact_count:

Loading…
Cancel
Save