Revision bcd80cd9 snf-cyclades-app/synnefo/api/util.py
b/snf-cyclades-app/synnefo/api/util.py | ||
---|---|---|
158 | 158 |
image = {} |
159 | 159 |
img = get_image(image_id, user_id) |
160 | 160 |
properties = img.get('properties', {}) |
161 |
image["id"] = img["id"] |
|
162 |
image["name"] = img["name"] |
|
161 | 163 |
image['backend_id'] = img['location'] |
162 | 164 |
image['format'] = img['disk_format'] |
163 | 165 |
image['metadata'] = dict((key.upper(), val) |
Also available in: Unified diff