Reviewed: https://review.opendev.org/670440 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=ae7ebdf45eb6c9c4406d851ab8ee6f2e47d5f275 Submitter: Zuul Branch: master
commit ae7ebdf45eb6c9c4406d851ab8ee6f2e47d5f275 Author: Takashi NATSUME <email address hidden> Date: Fri Jul 12 12:29:49 2019 +0900
Retrun 400 if invalid query parameters are specified
The following APIs return 500 error currently if an invalid sort key or an invalid sort direction query parameter is specified.
- GET /flavors - GET /flavors/detail
Make the APIs return 400 error in that case.
Change-Id: I1d6d2c1f734b28dbea5c67cf88717149dd4911d7 Closes-Bug: #1835925
Reviewed: https:/ /review. opendev. org/670440 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=ae7ebdf45eb 6c9c4406d851ab8 ee6f2e47d5f275
Committed: https:/
Submitter: Zuul
Branch: master
commit ae7ebdf45eb6c9c 4406d851ab8ee6f 2e47d5f275
Author: Takashi NATSUME <email address hidden>
Date: Fri Jul 12 12:29:49 2019 +0900
Retrun 400 if invalid query parameters are specified
The following APIs return 500 error currently
if an invalid sort key or an invalid sort direction
query parameter is specified.
- GET /flavors
- GET /flavors/detail
Make the APIs return 400 error in that case.
Change-Id: I1d6d2c1f734b28 dbea5c67cf88717 149dd4911d7
Closes-Bug: #1835925