TypeError when creating client with session and endpoint_override parameters

Bug #1543090 reported by Stan Lagun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-muranoclient
Fix Released
High
Stan Lagun

Bug Description

When both session and endpoint_override are given to the Client a
TypeError: type object got multiple values for keyword argument 'endpoint_override'
exception is raised

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

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

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

Reviewed: https://review.openstack.org/277361
Committed: https://git.openstack.org/cgit/openstack/python-muranoclient/commit/?id=df2397a9946e0ec001fcd5a8f563d3ab9e10e551
Submitter: Jenkins
Branch: master

commit df2397a9946e0ec001fcd5a8f563d3ab9e10e551
Author: Stan Lagun <email address hidden>
Date: Mon Feb 8 15:31:59 2016 +0300

    Fixes incorrect endpoint_override handling

    When both session and endpoint_override parameters
    were passed to the Client a TypeError exception was raised
    because the parameter was expected to be the first one
    in positional args but **kwargs were also passed to the
    SessionClient

    Change-Id: Iba0786a4f81d25dbfaf2b10791ddc6190deb81f2
    Closes-Bug: #1543090

Changed in python-muranoclient:
status: In Progress → 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.