From 74aa84b0ec5bf406b7cf324bef0267da4e653823 Mon Sep 17 00:00:00 2001 From: Anthony Young Date: Sun, 18 Mar 2012 22:44:59 -0700 Subject: Fix typo in server diagnostics extension. * Fixes bug 957716 * Tweak test to catch regression Change-Id: I71cafadfec90d907a65429e1c1ca1812d1069b25 --- nova/api/openstack/compute/contrib/server_diagnostics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/api') diff --git a/nova/api/openstack/compute/contrib/server_diagnostics.py b/nova/api/openstack/compute/contrib/server_diagnostics.py index eddb7429d..2bd020e43 100644 --- a/nova/api/openstack/compute/contrib/server_diagnostics.py +++ b/nova/api/openstack/compute/contrib/server_diagnostics.py @@ -42,7 +42,7 @@ class ServerDiagnosticsController(object): authorize(context) compute_api = compute.API() try: - instance = compute_api.get(context, id) + instance = compute_api.get(context, server_id) except exception.NotFound(): raise webob.exc.HTTPNotFound(_("Instance not found")) -- cgit