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:
Steven Hardy 2017-11-21 18:20:37 +00:00
parent 0342c84884
commit 05e0dd2422
1 changed files with 0 additions and 5 deletions

View File

@ -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)