summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorWilliam Wolf <throughnothing@gmail.com>2011-07-15 14:43:33 -0400
committerWilliam Wolf <throughnothing@gmail.com>2011-07-15 14:43:33 -0400
commit1c6837c7940ed979a05a063595f4d7e7a2154ee9 (patch)
tree4d993a5cab70f57095a66cdc0c1695a8bc3950ee /nova/api
parent054f828d341b6cc576e30744a39d443af7784fd9 (diff)
use id in links instead of uuid
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/views/servers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/views/servers.py b/nova/api/openstack/views/servers.py
index a1aba20fc..71d685171 100644
--- a/nova/api/openstack/views/servers.py
+++ b/nova/api/openstack/views/servers.py
@@ -209,8 +209,8 @@ class ViewBuilderV11(ViewBuilder):
response['uuid'] = inst['uuid']
def _build_links(self, response, inst):
- href = self.generate_href(inst["uuid"])
- bookmark = self.generate_bookmark(inst["uuid"])
+ href = self.generate_href(inst["id"])
+ bookmark = self.generate_bookmark(inst["id"])
links = [
{