]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Fix create a bit more.
authorIan Main <imain@redhat.com>
Tue, 3 Apr 2012 23:40:11 +0000 (16:40 -0700)
committerIan Main <imain@redhat.com>
Tue, 3 Apr 2012 23:40:11 +0000 (16:40 -0700)
Signed-off-by: Ian Main <imain@redhat.com>
heat/engine/manager.py

index 4cccd793fff2e2a14e4be17caa61f87e48b93b83..d4daf465cc04394e5fb4e954b4502a9e74420c91 100644 (file)
@@ -112,7 +112,7 @@ class EngineManager(manager.Manager):
         if stack_db.has_key(stack_name):
             return {'Error': 'Stack already exists with that name.'}
 
-        stack_db[stack_name] = template
+        stack_db[stack_name] = parser.Stack(stack_name, template)
         stack_db[stack_name].start()
 
         return {'stack': {'id': stack_name}}