Merge "stack event loops: handle get None result"
This commit is contained in:
@@ -106,6 +106,7 @@ def poll_for_events(
|
||||
if no_event_polls >= 2:
|
||||
# after 2 polls with no events, fall back to a stack get
|
||||
stack = cloud.get_stack(stack_name, resolve_outputs=False)
|
||||
if stack:
|
||||
stack_status = stack['stack_status']
|
||||
msg = msg_template % dict(name=stack_name, status=stack_status)
|
||||
if stop_check(stack_status):
|
||||
|
Reference in New Issue
Block a user