Fix 'heat describe'

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Angus Salkeld 2012-04-16 13:36:07 +10:00
parent fe9b29dd3e
commit 65b1ed9e89

@ -76,7 +76,7 @@ class EngineManager(manager.Manager):
arg3 -> Dict of http request parameters passed in from API side.
"""
res = {'stacks': [] }
s = db_api.stack_get(None, id)
s = db_api.stack_get(None, stack_name)
if s:
ps = parser.Stack(s.name, s.raw_template.template, params)
mem = {}