From e15258def26bd3b4781486a7a85ca599cbdb07f6 Mon Sep 17 00:00:00 2001 From: Troy Toman Date: Fri, 23 Sep 2011 10:47:31 -0500 Subject: Fix bug 856664 overLimit errors now return 413 Added personal email to .mailmap to allow merge Change-Id: Ic9595b9b00cc6a388550ea558a5748c326f91736 --- nova/api/openstack/faults.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova/api') 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, -- cgit