API versions are ignored from OCC

Bug #1453229 reported by Terry Howe on 2015-05-08
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Medium
Terry Howe

Bug Description

Since the default version is put in the parsed args, there is no way for OCC to tell if it was a command line option, from the env or just the default.

Terry Howe (thowe-g) on 2015-05-08
Changed in python-openstackclient:
assignee: nobody → Terry Howe (thowe-g)
Changed in python-openstackclient:
status: New → In Progress
Andrey Larionov (anlarionov) wrote :

Guys, any progress? Does this bugfix targets any milestone?

Terry Howe (thowe-g) wrote :
Changed in python-openstackclient:
importance: Undecided → Medium

Reviewed: https://review.openstack.org/181514
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=b3335b3474e559d8afb0b7f86796fbb68a0687a8
Submitter: Jenkins
Branch: master

commit b3335b3474e559d8afb0b7f86796fbb68a0687a8
Author: TerryHowe <email address hidden>
Date: Fri May 8 13:14:15 2015 -0600

    Do not set default versions in parsed args

    Setting default versions in parsed args makes it so OCC
    cannot tell if the argument was parsed, an environment
    variable was set or it is just defaulted. In order to
    set api versions from OCC, it will have to be defaulted
    after processing OCC.

    Closes-Bug: #1453229
    Change-Id: I4d065919397b783f3bdd4022c986c0234a7a16e6

Changed in python-openstackclient:
status: In Progress → Fix Committed
Changed in python-openstackclient:
milestone: none → 1.6.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers