Comment 4 for bug 1680444

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

Reviewed: https://review.openstack.org/454159
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=c3a22519bcd91db227146a982bfb281092428f6c
Submitter: Zuul
Branch: master

commit c3a22519bcd91db227146a982bfb281092428f6c
Author: Abijitha Nadagouda <email address hidden>
Date: Thu Apr 6 05:30:09 2017 -0700

    Removes unicode 'u' response for "cinder get-capabilities"

    The output of "cinder get-capabilities" command returns
    unicoded response. But it would appear from the utils
    class that setting formatters will go through the
    capabilities dict and make sure all values are properly
    string formatted. Therefore added formatters to return
    string formatted response.

    Added formatters=sorted(prop.keys()) line instead of
    static values as suggested by the reviewer, to avoid
    tying server knowledge to the client and also any
    update on the server side would easily reflect here.

    Closes-bug: #1680444
    Change-Id: Ie38236db364d59ddab42cb925d0435777b0ffe86