From bd598a8399a3bfb39dbd6ec5ba7f0a676d3ad060 Mon Sep 17 00:00:00 2001 From: Angus Salkeld Date: Thu, 5 Apr 2012 10:19:32 +1000 Subject: [PATCH] Fix events_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 10210fa4..d096d472 100644 --- a/heat/api/v1/stacks.py +++ b/heat/api/v1/stacks.py @@ -179,7 +179,7 @@ class StackController(object): res = {'DescribeStackEventsResult': {'StackEvents': [] } } summaries = res['DescribeStackEventsResult']['StackEvents'] - for s in stack_list: + for s in stack_list['events']: summaries.append(s) return res -- 2.45.2