heat engine : format stack outputs for updated stacks
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>
This commit is contained in:
parent
d9f63269f1
commit
ff10a55f16
|
@ -103,8 +103,8 @@ def format_stack(stack):
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue