summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorMichael Gundlach <michael.gundlach@rackspace.com>2010-12-02 14:17:41 -0600
committerMichael Gundlach <michael.gundlach@rackspace.com>2010-12-02 14:17:41 -0600
commit8be00510243918a67558b60557e7261e4649e94e (patch)
tree8192ef22bacb56d7ca8779fd78b99491c686b69f /nova/api
parent84b130f5fcc02964bc38423bb0153db9cc89e520 (diff)
downloadnova-8be00510243918a67558b60557e7261e4649e94e.tar.gz
nova-8be00510243918a67558b60557e7261e4649e94e.tar.xz
nova-8be00510243918a67558b60557e7261e4649e94e.zip
Use newfangled compute_api
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/servers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py
index a2a637def..e7f765c02 100644
--- a/nova/api/openstack/servers.py
+++ b/nova/api/openstack/servers.py
@@ -167,7 +167,7 @@ class Controller(wsgi.Controller):
if 'name' in inst_dict['server']:
update_dict['display_name'] = inst_dict['server']['name']
- self.db_driver.instance_update(ctxt, instance['id'], update_dict)
+ self.compute_api.update_instance(ctxt, instance['id'], update_dict)
return exc.HTTPNoContent()
def action(self, req, id):