Revision 11d4d283 snf-cyclades-app/synnefo/volume/util.py
b/snf-cyclades-app/synnefo/volume/util.py | ||
---|---|---|
71 | 71 |
if disk_template.startswith("ext") and "_" in disk_template: |
72 | 72 |
disk_template, provider = disk_template.split("_", 1) |
73 | 73 |
return disk_template, provider |
74 |
|
|
75 |
|
|
76 |
def update_snapshot_status(snapshot_id, user_id, status): |
|
77 |
with image_backend(user_id) as b: |
|
78 |
return b.update_status(snapshot_id, status=status) |
Also available in: Unified diff