Fix create a bit more.

Signed-off-by: Ian Main <imain@redhat.com>
This commit is contained in:
Ian Main 2012-04-03 16:40:11 -07:00
parent 06d5b8c378
commit 1163ec9ce7
1 changed files with 1 additions and 1 deletions

View 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}}