Comment 2 for bug 1835925

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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