Commit 21ed2baa by James Cammarata

Merge pull request #8773 from mrevilme/ec2_fix_instances_list

Always return a list even if its empty.
parents a0635ebb a373088d
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment