Revision 3a3dea88 snf-cyclades-app/synnefo/volume/views.py

b/snf-cyclades-app/synnefo/volume/views.py
221 221
    progress = "%s%%" % 100 if status == "ACTIVE" else 0
222 222

  
223 223
    data = {
224
        "id": snapshot["uuid"],
224
        "id": snapshot["id"],
225 225
        "size": int(snapshot["size"]) >> 30,  # gigabytes
226 226
        "display_name": snapshot["name"],
227 227
        "display_description": snapshot["description"],
......
233 233
        "created_at": utils.isoformat(date_parse(snapshot["created_at"])),
234 234
        "metadata": snapshot.get("metadata", {}),
235 235
        "volume_id": snapshot.get("volume_id"),
236
        "links": util.snapshot_to_links(snapshot["uuid"])
236
        "links": util.snapshot_to_links(snapshot["id"])
237 237
    }
238 238
    return data
239 239

  

Also available in: Unified diff