Fixed asg instance count polling

reviewable/pr18780/r1
Kevin Bell 11 years ago committed by James Cammarata
parent 340f7c18c2
commit 8e18202796

@ -181,7 +181,7 @@ def delete_autoscaling_group(connection, module):
instances = True instances = True
while instances: while instances:
connection.get_all_groups() groups = connection.get_all_groups()
for group in groups: for group in groups:
if group.name == group_name: if group.name == group_name:
if not group.instances: if not group.instances:

Loading…
Cancel
Save