Please sign in to comment.
Migrate volume should check para "host" in request
The server doesn't check whether the parameter "host" is in request body. So the 500 error has been thrown. We should catch the KeyError and transfer the KeyError to 400 (HTTPBadRequest) instead of 500. Closes-Bug: #1253904 Change-Id: I3fb07113816a87f284b47e32bacd57f78a32676c
- Loading branch information...
Showing with 21 additions and 1 deletion.