]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix a typo (from the commit to use state instead of parsed_template)
authorAngus Salkeld <asalkeld@redhat.com>
Thu, 21 Jun 2012 04:36:19 +0000 (14:36 +1000)
committerAngus Salkeld <asalkeld@redhat.com>
Thu, 21 Jun 2012 05:02:00 +0000 (15:02 +1000)
Change-Id: I37800ad3fb50210b8f27ca889fcfa48e14da8af0
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
heat/engine/manager.py

index 06e397874b0e0201bb961e0f18e3d10512cb9db8..be8b64654de0c3bbdf066fd6dc40adaca26c4fe9 100644 (file)
@@ -189,7 +189,7 @@ class EngineManager(manager.Manager):
             mem['StackStatusReason'] = s.status_reason
 
             # only show the outputs on a completely created stack
-            if s.state == ps.CREATE_COMPLETE:
+            if s.status == ps.CREATE_COMPLETE:
                 mem['Outputs'] = ps.get_outputs()
 
             res['stacks'].append(mem)