HTTPClient sets Adapter version to string rather than tuple

Bug #1450272 reported by Brant Knudson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Fix Released
Medium
Brant Knudson

Bug Description

The version field in the Adapter is supposed to be a tuple per the docstring, but when the HTTPClient creates its Adapter it passes the version string from the implementation (either V2 or V3) which is a string ("v2.0" or "v3") rather than a tuple ((2,0) or (3,0)).

Changed in python-keystoneclient:
assignee: nobody → Brant Knudson (blk-u)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-keystoneclient (master)

Reviewed: https://review.openstack.org/178866
Committed: https://git.openstack.org/cgit/openstack/python-keystoneclient/commit/?id=99e3b48a21b1544ec72c57b8fc1ba621e4009003
Submitter: Jenkins
Branch: master

commit 99e3b48a21b1544ec72c57b8fc1ba621e4009003
Author: Brant Knudson <email address hidden>
Date: Wed Apr 29 17:36:43 2015 -0500

    Adapter version is a tuple

    The docstring for Adapter says that the version is a tuple like
    (3,0), but the HttpClient was passing a string like "v3".

    Closes-Bug: 1450272
    Change-Id: I74b009d68f5601bda3ae92b3c8de1ecef00d8316

Changed in python-keystoneclient:
status: In Progress → Fix Committed
Changed in python-keystoneclient:
milestone: none → 1.4.0
importance: Undecided → Medium
Changed in python-keystoneclient:
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.