From dca73f7c8c6f65e449a4b7500b679fb51418a138 Mon Sep 17 00:00:00 2001 From: Alex Meade Date: Tue, 6 Dec 2011 17:11:45 -0500 Subject: Change cloudServersFault to computeFault Fixes bug 862649. Change-Id: Ic7b24fcd706d18563d4addd0373a863697747d75 --- nova/api/openstack/wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/api') diff --git a/nova/api/openstack/wsgi.py b/nova/api/openstack/wsgi.py index 7e4875066..1ffca9ecc 100644 --- a/nova/api/openstack/wsgi.py +++ b/nova/api/openstack/wsgi.py @@ -637,7 +637,7 @@ class Fault(webob.exc.HTTPException): """Generate a WSGI response based on the exception passed to ctor.""" # Replace the body with fault details. code = self.wrapped_exc.status_int - fault_name = self._fault_names.get(code, "cloudServersFault") + fault_name = self._fault_names.get(code, "computeFault") fault_data = { fault_name: { 'code': code, -- cgit