Don't use json.dumps() on the output of get_template
Change-Id: I913e9f9e2b90cd983fb9674b18b6c81d66129e6c Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
parent
2eadedf5fd
commit
0d9052ef4f
4
bin/heat
4
bin/heat
@ -122,7 +122,7 @@ def estimate_template_cost(options, arguments):
|
|||||||
|
|
||||||
c = get_client(options)
|
c = get_client(options)
|
||||||
result = c.estimate_template_cost(**parameters)
|
result = c.estimate_template_cost(**parameters)
|
||||||
print json.dumps(result, indent=2)
|
print result
|
||||||
|
|
||||||
|
|
||||||
@utils.catch_error('gettemplate')
|
@utils.catch_error('gettemplate')
|
||||||
@ -140,7 +140,7 @@ def get_template(options, arguments):
|
|||||||
|
|
||||||
c = get_client(options)
|
c = get_client(options)
|
||||||
result = c.get_template(**parameters)
|
result = c.get_template(**parameters)
|
||||||
print json.dumps(result, indent=2)
|
print result
|
||||||
|
|
||||||
|
|
||||||
@utils.catch_error('create')
|
@utils.catch_error('create')
|
||||||
|
Loading…
Reference in New Issue
Block a user