In server`s action `confirmResize` status code in @wsgi.response
decorator is set as 202 but this is overridden/ignored by return
statement (return exc.HTTPNoContent()) which return 204 status code.
This is very confusing and we should have expected status code in
@wsgi.response decorator as consistence with other APIs.
NOTE- There is no change in API return status code. API returns the
same 204 return code as previously.
Reviewed: https:/ /review. openstack. org/121025 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=21baedfc318 5111589535cdc24 fff83603a5e3fc
Committed: https:/
Submitter: Jenkins
Branch: master
commit 21baedfc3185111 589535cdc24fff8 3603a5e3fc
Author: Ghanshyam <email address hidden>
Date: Fri Sep 12 17:01:49 2014 +0900
Fix `confirmResize` action status code in V2
In server`s action `confirmResize` status code in @wsgi.response nt()) which return 204 status code.
decorator is set as 202 but this is overridden/ignored by return
statement (return exc.HTTPNoConte
This is very confusing and we should have expected status code in
@wsgi.response decorator as consistence with other APIs.
NOTE- There is no change in API return status code. API returns the
same 204 return code as previously.
Change-Id: Id8033fb8880306 babebc14b319bce 5b3b8798774
Closes-Bug: #1368597