]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Do not allow bad keys while updating quota
authorAbhijeet Malawade <Abhijeet.Malawade@nttdata.com>
Wed, 6 Nov 2013 11:20:54 +0000 (03:20 -0800)
committerAbhijeet Malawade <Abhijeet.Malawade@nttdata.com>
Wed, 13 Nov 2013 05:57:00 +0000 (21:57 -0800)
commit0d91b1a86a211610f78ac5c0df5a0b02b5a2f3a1
tree4044400843d6ada5f43b5d247c48f184a5b21d6f
parentfac9cf850e2b9b0e84cd505f3bf6fca9ff4a1f8f
Do not allow bad keys while updating quota

Raise 400 (bad request) error instead of 200 (ok) if bad keys
are passed to the update quota request

Closes-Bug: #1248815

Change-Id: Iaefaa4961dd3783dfab15f843cbb2dcb12195a7d
cinder/api/contrib/quotas.py
cinder/tests/api/contrib/test_quotas.py