summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2011-12-07 04:11:26 +0000
committerGerrit Code Review <review@openstack.org>2011-12-07 04:11:26 +0000
commit45e31ab90d22cbb84a33c051ee43f273b7a4c38b (patch)
tree795b68a3597f72521f99b857d4ea2004b26e19de /nova/api
parent3e3e378f8350ecd6f4cad7b6bfeee47a88e98e33 (diff)
parentdca73f7c8c6f65e449a4b7500b679fb51418a138 (diff)
downloadnova-45e31ab90d22cbb84a33c051ee43f273b7a4c38b.tar.gz
nova-45e31ab90d22cbb84a33c051ee43f273b7a4c38b.tar.xz
nova-45e31ab90d22cbb84a33c051ee43f273b7a4c38b.zip
Merge "Change cloudServersFault to computeFault"
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/wsgi.py2
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,