-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return BadRequest instead of UnprocessableEntity for volumes API
Changes exception from UnprocessableEntity to BadRequest when input validation fails. Also raise BadRequest instead of a nova exception InvalidParameterValue within the SnapshotController create method. This is some preparation work to make sharing unittests between V2.1 and V2 easier. Partially implements blueprint v2-on-v3-api Change-Id: I5c5b6f9680378d51f7fea054b52b99cd6cbe54b0
- Loading branch information
Chris Yeoh
committed
Aug 25, 2014
1 parent
7fb7a2c
commit eb59514
Showing
2 changed files
with
23 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters