summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJosh Kearney <josh.kearney@rackspace.com>2010-12-23 12:23:28 -0600
committerJosh Kearney <josh.kearney@rackspace.com>2010-12-23 12:23:28 -0600
commit55a80811a5982cb9af5b80e7ac3e925334a1b22d (patch)
treee1bfde45d7d592d33ecd969181dab0c356eab116 /nova/api
parent358961f3cf259487a2ff9bbb225defdc7cd9e7a7 (diff)
Working diagnostics API; removed diagnostics DB model - not needed
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/servers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/api/openstack/servers.py b/nova/api/openstack/servers.py
index 65e371a90..f758b252a 100644
--- a/nova/api/openstack/servers.py
+++ b/nova/api/openstack/servers.py
@@ -198,4 +198,5 @@ class Controller(wsgi.Controller):
def diagnostics(self, req, id):
"""Permit Admins to retrieve server diagnostics."""
- return {}
+ ctxt = req.environ["nova.context"]
+ return self.compute_api.diagnostics(ctxt, id)