Merge "Save object after updating for attachment_complete"
This commit is contained in:
commit
4dd36f9efb
@ -279,7 +279,9 @@ class AttachmentsController(wsgi.Controller):
|
||||
context,
|
||||
attachment_ref.volume_id)
|
||||
attachment_ref.update({'attach_status': 'attached'})
|
||||
attachment_ref.save()
|
||||
volume_ref.update({'status': 'in-use', 'attach_status': 'attached'})
|
||||
volume_ref.save()
|
||||
|
||||
|
||||
def create_resource(ext_mgr):
|
||||
|
Loading…
x
Reference in New Issue
Block a user