Commit faed0ec2 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Transaction on create_instance

parent a4fe3238
......@@ -275,6 +275,7 @@ def start_action(vm, action):
vm.save()
@transaction.commit_on_success
def create_instance(vm, flavor, image, password, personality):
"""`image` is a dictionary which should contain the keys:
'backend_id', 'format' and 'metadata'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment