Don't preformat stack output show list/map values
This breaks the built-in --format json and --format yaml options Change-Id: I01d46ace380756ae57c8c7c9f65c5a686a06818f Closes-Bug: #1733664
This commit is contained in:
parent
0342c84884
commit
05e0dd2422
|
@ -1001,11 +1001,6 @@ class OutputShowStack(command.ShowOne):
|
|||
msg = _('Output error: %s') % output['output_error']
|
||||
raise exc.CommandError(msg)
|
||||
|
||||
if (isinstance(output['output_value'], list) or
|
||||
isinstance(output['output_value'], dict)):
|
||||
output['output_value'] = heat_utils.json_formatter(
|
||||
output['output_value'])
|
||||
|
||||
return self.dict2columns(output)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue