Revision 3a3dea88 snf-cyclades-app/synnefo/volume/snapshots.py
b/snf-cyclades-app/synnefo/volume/snapshots.py | ||
---|---|---|
122 | 122 |
user_id = snapshot["owner"] |
123 | 123 |
log.info("Deleting snapshot '%s'", snapshot["location"]) |
124 | 124 |
with image_backend(user_id) as pithos_backend: |
125 |
pithos_backend.delete_snapshot(snapshot["uuid"])
|
|
125 |
pithos_backend.delete_snapshot(snapshot["id"]) |
|
126 | 126 |
return snapshot |
127 | 127 |
|
128 | 128 |
|
Also available in: Unified diff