summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJosh Kearney <josh@jk0.org>2011-04-07 19:30:52 +0000
committerTarmac <>2011-04-07 19:30:52 +0000
commit7a73a06bca40dbd0f005b466f3824170cdc64f4d (patch)
tree8e56ae1c3dc7eaad43c5549b76a6f3ae2f414ca1 /nova/api
parentc9b58d39044166bf5a03991e33a5302e1cd5cce9 (diff)
parent404feb59a829e24e026f793a362e54aad1aaa03f (diff)
Renamed computeFault back to cloudServersFault in an effort to maintain consistency with the 1.0 API spec. We can look into distinguishing the two in the next release. Held off for now to avoid potential regression.
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/faults.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/faults.py b/nova/api/openstack/faults.py
index bc97639a0..87118ce19 100644
--- a/nova/api/openstack/faults.py
+++ b/nova/api/openstack/faults.py
@@ -47,7 +47,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, "computeFault")
+ fault_name = self._fault_names.get(code, "cloudServersFault")
fault_data = {
fault_name: {
'code': code,