Fix bug where stack outputs are not formatted when
stacks are in UPDATE_COMPLETE state
Fixes #250
Change-Id: I8936c8e62b8c9b1f28f09eb5b8c50eb79cb76eb2
Signed-off-by: Steven Hardy <shardy@redhat.com>
STACK_TIMEOUT: stack.timeout_mins,
}
- # only show the outputs on a completely created stack
- if stack.state == stack.CREATE_COMPLETE:
+ # only show the outputs on a completely created or updated stack
+ if stack.state in (stack.CREATE_COMPLETE, stack.UPDATE_COMPLETE):
info[STACK_OUTPUTS] = format_stack_outputs(stack, stack.outputs)
return info