Always return a list even if its empty.

This commit is contained in:
Emil Palm 2014-08-27 11:07:19 +02:00
parent 6e7773e9b8
commit 8a4d6577a1

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: