diff options
| author | Alex Meade <alex.meade@rackspace.com> | 2011-12-06 17:11:45 -0500 |
|---|---|---|
| committer | Alex Meade <alex.meade@rackspace.com> | 2011-12-06 17:12:14 -0500 |
| commit | dca73f7c8c6f65e449a4b7500b679fb51418a138 (patch) | |
| tree | 8c20602d9a6376c32c0ed3158d3220a303ad0ff4 /nova/api | |
| parent | b71afdb54a49eb15d0317899e12cf5ef5ee16127 (diff) | |
| download | nova-dca73f7c8c6f65e449a4b7500b679fb51418a138.tar.gz nova-dca73f7c8c6f65e449a4b7500b679fb51418a138.tar.xz nova-dca73f7c8c6f65e449a4b7500b679fb51418a138.zip | |
Change cloudServersFault to computeFault
Fixes bug 862649.
Change-Id: Ic7b24fcd706d18563d4addd0373a863697747d75
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/wsgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
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, |
