]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix bad request response code on extra_specs create.
authorMatthew Treinish <treinish@linux.vnet.ibm.com>
Mon, 11 Mar 2013 20:51:24 +0000 (16:51 -0400)
committerMatthew Treinish <treinish@linux.vnet.ibm.com>
Mon, 11 Mar 2013 20:54:30 +0000 (16:54 -0400)
commit6a7e93dfc750e08e95c6b53b122407c763883c6c
treeb0a83f250468f79a2ee7a97f3c00b1b2bf924cfe
parent15cd9ac7427255dcba8c783c65b67134b85e2887
Fix bad request response code on extra_specs create.

This commit changes the error response on a bad body from 422 to 400 for
an extra spec create request.

Fixes bug 1090356

Change-Id: I7925bbd53fb9647440532b206feee3421fb9f38b
cinder/api/contrib/types_extra_specs.py
cinder/tests/api/contrib/test_types_extra_specs.py