summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorWilliam Wolf <throughnothing@gmail.com>2011-07-15 12:44:40 -0400
committerWilliam Wolf <throughnothing@gmail.com>2011-07-15 12:44:40 -0400
commit1e7b21452a2e622b94531bea59c68e6abcded40a (patch)
treecb03372cd489124161e05877a802d0ae9a5d5095 /nova/api
parent3a2dbab191ded08da47fbe184d8f3865a8c835fe (diff)
return id and uuid for now
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/views/servers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/openstack/views/servers.py b/nova/api/openstack/views/servers.py
index a4c9dd95a..53ded4312 100644
--- a/nova/api/openstack/views/servers.py
+++ b/nova/api/openstack/views/servers.py
@@ -206,7 +206,8 @@ class ViewBuilderV11(ViewBuilder):
def _build_extra(self, response, inst):
self._build_links(response, inst)
- response['id'] = inst['uuid']
+ response['id'] = inst['id']
+ response['uuid'] = inst['uuid']
def _build_links(self, response, inst):
href = self.generate_href(inst["uuid"])