commit b73cde1c05eb3863f043fd587f5c555f341b027d
Author: Igor Kalnitsky <email address hidden>
Date: Tue Dec 23 15:15:06 2014 +0200
Return error HTTP code for incorrect neutron conf
Recently, we used to return error message for incorrect neutron config
without error HTTP status code. In other words, the "202 Accepted" was
always returned regardless it was successful or not.
Since now, tbe "400 Bad Request" will be returned in case of error and
"200 OK" in case of success (there's no reason to return "202 Accepted"
for synchronous task).
Reviewed: https:/ /review. openstack. org/143667 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=b73cde1c05e b3863f043fd587f 5c555f341b027d
Committed: https:/
Submitter: Jenkins
Branch: master
commit b73cde1c05eb386 3f043fd587f5c55 5f341b027d
Author: Igor Kalnitsky <email address hidden>
Date: Tue Dec 23 15:15:06 2014 +0200
Return error HTTP code for incorrect neutron conf
Recently, we used to return error message for incorrect neutron config
without error HTTP status code. In other words, the "202 Accepted" was
always returned regardless it was successful or not.
Since now, tbe "400 Bad Request" will be returned in case of error and
"200 OK" in case of success (there's no reason to return "202 Accepted"
for synchronous task).
Change-Id: I9ad16fceb93033 2b427773dec32bd 84d30fb1fd3
Closes-Bug: #1404821