reviewable/pr18780/r1
Pradeep 8 years ago committed by Michael Scherer
parent 423b4a5909
commit 4cb27d914f

@ -778,7 +778,7 @@ def wait_for_term_inst(connection, module, term_instances):
lifecycle = instance_facts[i]['lifecycle_state']
health = instance_facts[i]['health_status']
log.debug("Instance {0} has state of {1},{2}".format(i,lifecycle,health ))
if lifecycle == 'Terminating' or healthy == 'Unhealthy':
if lifecycle == 'Terminating' or health == 'Unhealthy':
count += 1
time.sleep(10)

Loading…
Cancel
Save