diff options
author | Steven Hardy <shardy@redhat.com> | 2017-11-21 18:20:37 +0000 |
---|---|---|
committer | Steven Hardy <shardy@redhat.com> | 2017-11-21 18:20:37 +0000 |
commit | 05e0dd2422fe3c9db66ddac8243967e9de861d74 (patch) | |
tree | 5f538dbf873ff2abe9c23a3e681a4b8ef27c7619 /heatclient/osc | |
parent | 0342c84884515dd677a9e3dbfc153e511d64f0b7 (diff) | |
download | python-heatclient-05e0dd2422fe3c9db66ddac8243967e9de861d74.tar.gz |
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
Diffstat (limited to 'heatclient/osc')
-rw-r--r-- | heatclient/osc/v1/stack.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/heatclient/osc/v1/stack.py b/heatclient/osc/v1/stack.py index cb685dd..89540d2 100644 --- a/heatclient/osc/v1/stack.py +++ b/heatclient/osc/v1/stack.py @@ -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) |