commit 93d9f0fe9f211ab8a63645ceca0fe4b9687929ed
Author: space <email address hidden>
Date: Fri Jan 15 10:51:51 2016 +0800
Change 404 to 400 when resource not found exception raises
According to the new document and Hong Bin's opinion,I changed
code 404 to 400 of the classes as follows:
ImageNotFound
OSDistroFieldNotFound
FlavorNotFound
NetworkNotFound,
because they are nonexistent resources.
So these four exceptions will report code 400 in the future
and we should pay attention to it.
Reviewed: https:/ /review. openstack. org/267902 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=93d9f0fe9f2 11ab8a63645ceca 0fe4b9687929ed
Committed: https:/
Submitter: Jenkins
Branch: master
commit 93d9f0fe9f211ab 8a63645ceca0fe4 b9687929ed
Author: space <email address hidden>
Date: Fri Jan 15 10:51:51 2016 +0800
Change 404 to 400 when resource not found exception raises
According to the new document and Hong Bin's opinion,I changed ldNotFound ound,
code 404 to 400 of the classes as follows:
ImageNotFound
OSDistroFie
FlavorNotFound
NetworkNotF
because they are nonexistent resources.
So these four exceptions will report code 400 in the future
and we should pay attention to it.
Change-Id: I4040340f9605e3 ed03af2ec3b965b f2fc54a0d98
Closes-Bug: #1494122