Reviewed: https://review.openstack.org/55849 Committed: http://github.com/openstack/cinder/commit/2ed2f3aff8eee70e02eb995780af292057cfcad4 Submitter: Jenkins Branch: master
commit 2ed2f3aff8eee70e02eb995780af292057cfcad4 Author: ling-yun <email address hidden> Date: Mon Nov 11 22:00:03 2013 +0800
Update quota-set throw 500 error
The server doesn't check whether the parameter "quota_set" or "quota_class_set" is in request body.So the 500 error has been thrown.
We should catch the KeyError and transfer the KeyError to 400(HTTPBadRequest) instead of 500.
Change-Id: I01260c77efa50324f3d203888689cdb1e94d2c21 Closes-Bug: #1249971
Reviewed: https:/ /review. openstack. org/55849 github. com/openstack/ cinder/ commit/ 2ed2f3aff8eee70 e02eb995780af29 2057cfcad4
Committed: http://
Submitter: Jenkins
Branch: master
commit 2ed2f3aff8eee70 e02eb995780af29 2057cfcad4
Author: ling-yun <email address hidden>
Date: Mon Nov 11 22:00:03 2013 +0800
Update quota-set throw 500 error
The server doesn't check whether the parameter "quota_set" or class_set" is in request
"quota_
body.So the 500 error has been thrown.
We should catch the KeyError and transfer the KeyError to HTTPBadRequest) instead of 500.
400(
Change-Id: I01260c77efa503 24f3d203888689c db1e94d2c21
Closes-Bug: #1249971