From c0fd06bc1f5c824af3eda3507611133b5fdd2542 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Thu, 5 Apr 2012 16:40:19 +1000 Subject: [PATCH] Fix "heat list" only showing empty list. Signed-off-by: Angus Salkeld --- heat/api/v1/stacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/heat/api/v1/stacks.py b/heat/api/v1/stacks.py index d096d472..0b6525d6 100644 --- a/heat/api/v1/stacks.py +++ b/heat/api/v1/stacks.py @@ -56,7 +56,7 @@ class StackController(object): res = {'ListStacksResponse': {'ListStacksResult': {'StackSummaries': [] } } } summaries = res['ListStacksResponse']['ListStacksResult']['StackSummaries'] - for s in stack_list: + for s in stack_list['stacks']: summaries.append(s) return res -- 2.45.2