Fixed asg instance count polling

pull/4420/head
Kevin Bell 2014-05-27 21:52:45 -07:00 committed by James Cammarata
parent 426a827b46
commit e0a4c389f3
1 changed files with 1 additions and 1 deletions

View File

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