diff options
| author | Anthony Young <sleepsonthefloor@gmail.com> | 2012-03-18 22:44:59 -0700 |
|---|---|---|
| committer | Anthony Young <sleepsonthefloor@gmail.com> | 2012-03-18 22:44:59 -0700 |
| commit | 74aa84b0ec5bf406b7cf324bef0267da4e653823 (patch) | |
| tree | 61c26aad4bf0910f67df6943f6a80e72b432846f /nova/api | |
| parent | 898f86cef99b386b22fec1cd47515ffe991e5eb9 (diff) | |
| download | nova-74aa84b0ec5bf406b7cf324bef0267da4e653823.tar.gz nova-74aa84b0ec5bf406b7cf324bef0267da4e653823.tar.xz nova-74aa84b0ec5bf406b7cf324bef0267da4e653823.zip | |
Fix typo in server diagnostics extension.
* Fixes bug 957716
* Tweak test to catch regression
Change-Id: I71cafadfec90d907a65429e1c1ca1812d1069b25
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/compute/contrib/server_diagnostics.py | 2 |
1 files changed, 1 insertions, 1 deletions
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")) |
