Browse Source

Don't use json.dumps() on the output of get_template

Change-Id: I913e9f9e2b90cd983fb9674b18b6c81d66129e6c
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
changes/18/218/1
Angus Salkeld 10 years ago
parent
commit
0d9052ef4f
  1. 4
      bin/heat

4
bin/heat

@ -122,7 +122,7 @@ def estimate_template_cost(options, arguments):
c = get_client(options)
result = c.estimate_template_cost(**parameters)
print json.dumps(result, indent=2)
print result
@utils.catch_error('gettemplate')
@ -140,7 +140,7 @@ def get_template(options, arguments):
c = get_client(options)
result = c.get_template(**parameters)
print json.dumps(result, indent=2)
print result
@utils.catch_error('create')

Loading…
Cancel
Save