Revision e7953d63 snf-cyclades-app/synnefo/api/servers.py
b/snf-cyclades-app/synnefo/api/servers.py | ||
---|---|---|
194 | 194 |
d['attachments'] = attachments |
195 | 195 |
d['addresses'] = attachments_to_addresses(attachments) |
196 | 196 |
|
197 |
d['volumes'] = [v.id for v in vm.volumes.order_by('id')] |
|
198 |
|
|
197 | 199 |
# include the latest vm diagnostic, if set |
198 | 200 |
diagnostic = vm.get_last_diagnostic() |
199 | 201 |
if diagnostic: |
Also available in: Unified diff