summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorTroy Toman <ttcl@mac.com>2011-09-23 10:47:31 -0500
committerTroy Toman <ttcl@mac.com>2011-09-23 13:41:34 -0500
commite15258def26bd3b4781486a7a85ca599cbdb07f6 (patch)
treec2cb2d2a1c5cd294034f875ad616f702005045ae /nova/api
parent637cd313cfff44c1d805fe75b8674cae6c01de82 (diff)
downloadnova-e15258def26bd3b4781486a7a85ca599cbdb07f6.tar.gz
nova-e15258def26bd3b4781486a7a85ca599cbdb07f6.tar.xz
nova-e15258def26bd3b4781486a7a85ca599cbdb07f6.zip
Fix bug 856664 overLimit errors now return 413
Added personal email to .mailmap to allow merge Change-Id: Ic9595b9b00cc6a388550ea558a5748c326f91736
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 1ab45d4f1..d0d078cb5 100644
--- a/nova/api/openstack/faults.py
+++ b/nova/api/openstack/faults.py
@@ -87,7 +87,7 @@ class OverLimitFault(webob.exc.HTTPException):
"""
Initialize new `OverLimitFault` with relevant information.
"""
- self.wrapped_exc = webob.exc.HTTPForbidden()
+ self.wrapped_exc = webob.exc.HTTPRequestEntityTooLarge()
self.content = {
"overLimitFault": {
"code": self.wrapped_exc.status_int,