[aws] Remove unused variable in ec2_asg module (#41706)

pull/23200/merge
Ryan Brown 6 years ago committed by Sloane Hertel
parent 89f169127b
commit 22f1b71be0

@ -1355,7 +1355,6 @@ def wait_for_term_inst(connection, term_instances):
wait_timeout = module.params.get('wait_timeout') wait_timeout = module.params.get('wait_timeout')
group_name = module.params.get('name') group_name = module.params.get('name')
as_group = describe_autoscaling_groups(connection, group_name)[0] as_group = describe_autoscaling_groups(connection, group_name)[0]
props = get_properties(as_group)
count = 1 count = 1
wait_timeout = time.time() + wait_timeout wait_timeout = time.time() + wait_timeout
while wait_timeout > time.time() and count > 0: while wait_timeout > time.time() and count > 0:

Loading…
Cancel
Save