]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixing check order for empty body in get_body()
authorAndres Buraschi <andres.buraschi@intel.com>
Thu, 28 Nov 2013 14:35:07 +0000 (11:35 -0300)
committerAndres Buraschi <andres.buraschi@intel.com>
Thu, 28 Nov 2013 14:41:39 +0000 (11:41 -0300)
commit6bd4dae9680aae924ef24750e15f00711c14b1a3
treee3f0298294cdabc4cdf91103041a10de00cb55be
parentfecf558aaf4780d39f7eda4e7c70cc261f38a019
Fixing check order for empty body in get_body()

Cinder API logged the following debug message for each request with
empty body:
"Unrecognized Content-Type provided in request get_body"
Check order was fixed in get_body function to follow the correct flow
and display the right message (empty body).

Change-Id: Ie561983a4da791a412fea3fc390dab718dfce191
Closes-Bug: #1252692
cinder/api/openstack/wsgi.py