Revision 7584d408 api/images.py
b/api/images.py | ||
---|---|---|
62 | 62 |
d['created'] = isoformat(image.created) |
63 | 63 |
d['status'] = image.state |
64 | 64 |
d['progress'] = 100 if image.state == 'ACTIVE' else 0 |
65 |
d['description'] = image.description |
|
66 | 65 |
if image.sourcevm: |
67 | 66 |
d['serverRef'] = image.sourcevm.id |
68 | 67 |
|
Also available in: Unified diff