--changes-since is sending changes_since instead of changes-since

Bug #1732216 reported by Daniel Speichert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Undecided
Unassigned

Bug Description

`openstack server list --changes-since 2017-11-13T16:13:37Z`
is sending a query like:
GET /v2.1/b07d2688998e4a1c8alsk68776babfdd/servers/detail?changes_since=2017-11-13T16%3A13%3A37Z
note that "changes_since" has underscore.

Per https://developer.openstack.org/api-ref/compute/#list-servers, the valid query parameter is "changes-since" with a dash instead of underscore.

Obviously that makes this CLI parameter broken.

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

Reviewed: https://review.openstack.org/519693
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=116526275d0953fda93c7ff8eacd8631c5af68d5
Submitter: Zuul
Branch: master

commit 116526275d0953fda93c7ff8eacd8631c5af68d5
Author: Daniel Speichert <email address hidden>
Date: Tue Nov 14 11:14:11 2017 -0500

    Send 'changes-since' instead of 'changes_since' query parameter

    Per API reference, only 'changes-since' is accepted and the variant
    with underscore is ignored, making the CLI functionality broken.

    [dtroyer] added release note and fixed unit tests.

    Change-Id: I0c596531a8af03da17d5ce39d75b12e941403aa5
    Closes-Bug: 1732216

Changed in python-openstackclient:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-openstackclient 3.13.0

This issue was fixed in the openstack/python-openstackclient 3.13.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.