Commit 76655a08 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

cyclades: Add missing commit_on_success decorator

parent c99c44cb
......@@ -391,6 +391,7 @@ def get_server_details(request, server_id):
@api.api_method(http_method='PUT', user_required=True, logger=log)
@transaction.commit_on_success
def update_server_name(request, server_id):
# Normal Response Code: 204
# Error Response Codes: computeFault (400, 500),
......@@ -541,6 +542,7 @@ def list_metadata(request, server_id):
@api.api_method(http_method='POST', user_required=True, logger=log)
@transaction.commit_on_success
def update_metadata(request, server_id):
# Normal Response Code: 201
# Error Response Codes: computeFault (400, 500),
......
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