Always return a list even if its empty.

pull/8773/head
Emil Palm 11 years ago
parent b6a30a7331
commit a373088d16

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

Loading…
Cancel
Save