Return stack outputs when in progress
Don't filter out stack outputs when stack status is in progress, returning it all the time instead. Change-Id: Ife8f1eafe85e9ff4ce5f0a4692c64343c1c2d0b4 Closes-Bug: #1537693
This commit is contained in:
parent
8d611985bd
commit
76663a26d9
|
@ -239,8 +239,7 @@ def format_stack(stack, preview=False, resolve_outputs=True):
|
|||
info.update(update_info)
|
||||
|
||||
# allow users to view the outputs of stacks
|
||||
if (stack.action != stack.DELETE and stack.status != stack.IN_PROGRESS
|
||||
and resolve_outputs):
|
||||
if stack.action != stack.DELETE and resolve_outputs:
|
||||
info[rpc_api.STACK_OUTPUTS] = format_stack_outputs(stack,
|
||||
stack.outputs,
|
||||
resolve_value=True)
|
||||
|
|
|
@ -358,6 +358,7 @@ class FormatTest(common.HeatTestCase):
|
|||
'stack_status': 'IN_PROGRESS',
|
||||
'stack_status_reason': '',
|
||||
'stack_user_project_id': None,
|
||||
'outputs': [],
|
||||
'template_description': 'No description',
|
||||
'timeout_mins': None,
|
||||
'tags': None,
|
||||
|
|
Loading…
Reference in New Issue