diff options
| author | Mark McLoughlin <markmc@redhat.com> | 2012-09-12 12:51:01 +0100 |
|---|---|---|
| committer | Mark McLoughlin <markmc@redhat.com> | 2012-09-17 21:44:05 +0100 |
| commit | 76ca8c184bed7aa706ac6ef1010c3f4ebf08f7f0 (patch) | |
| tree | d4a8fd5794e1b07369e37d3732416f07584e1757 /nova/openstack | |
| parent | 725c99b2a9a05c905b6ff9455d47917c39be9f57 (diff) | |
| download | nova-76ca8c184bed7aa706ac6ef1010c3f4ebf08f7f0.tar.gz nova-76ca8c184bed7aa706ac6ef1010c3f4ebf08f7f0.tar.xz nova-76ca8c184bed7aa706ac6ef1010c3f4ebf08f7f0.zip | |
Improve entity validation in volumes APIs
Fixes bug #1048565
Use the new Controller.is_valid_body() helper to validate the entity
body in various volumes related POST/PUT handlers and return 422
as appropriate.
(Cherry picks commit dcecb586 from Cinder and adds similar fixes for
the volumes bits in the compute API)
Change-Id: I04127972981522c1ed81903893396c4f9665bcd3
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions
