diff options
| author | William Wolf <throughnothing@gmail.com> | 2011-07-15 14:43:33 -0400 |
|---|---|---|
| committer | William Wolf <throughnothing@gmail.com> | 2011-07-15 14:43:33 -0400 |
| commit | 1c6837c7940ed979a05a063595f4d7e7a2154ee9 (patch) | |
| tree | 4d993a5cab70f57095a66cdc0c1695a8bc3950ee /nova/api | |
| parent | 054f828d341b6cc576e30744a39d443af7784fd9 (diff) | |
use id in links instead of uuid
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/views/servers.py | 4 |
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 = [ { |
