event-list should sorts by timestamp, just like API v2 does

Bug #1406622 reported by ZhiQiang Fan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-ceilometerclient
Fix Released
Undecided
ZhiQiang Fan

Bug Description

currently, ceilometer event-list will print list and sort by id, but we get response from API v2 which is sorted by timestamp, we should keep consistent

ZhiQiang Fan (aji-zqfan)
Changed in python-ceilometerclient:
assignee: nobody → ZhiQiang Fan (aji-zqfan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-ceilometerclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/146754

Changed in python-ceilometerclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-ceilometerclient (master)

Reviewed: https://review.openstack.org/146754
Committed: https://git.openstack.org/cgit/openstack/python-ceilometerclient/commit/?id=97a200d51dca2108c414a0f36dbfc99c44d71226
Submitter: Jenkins
Branch: master

commit 97a200d51dca2108c414a0f36dbfc99c44d71226
Author: ZhiQiang Fan <email address hidden>
Date: Tue Jan 13 12:12:17 2015 +0800

    event-list should sort by timestamp, not id

    Currently, event-list output will be sorted by message id, that is
    because table field 0 is the default sort field. But sort by id makes
    no sense, and REST API returns events by timestamp order, so let's
    keep consistent with upstream.

    Change-Id: I524b05ed5ff9db34430afd722991d02545c263cb
    Closes-Bug: #1406622

Changed in python-ceilometerclient:
status: In Progress → Fix Committed
Changed in python-ceilometerclient:
milestone: none → 1.3.0
status: Fix Committed → Fix Released
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.