Remove unsueful 'opts' param
The opts param is unuseful for get_client_instance() func. Change-Id: Ib187a4d7d5ea92c1dbe5e4505b3646d5d050c53f Task:41348
This commit is contained in:
parent
137e58b856
commit
397618e851
@ -174,10 +174,10 @@ def get_client_class(api_version=None):
|
|||||||
return importutils.import_class(api_string)
|
return importutils.import_class(api_string)
|
||||||
|
|
||||||
|
|
||||||
def get_client_instance(kwargs={}, opts=None, api_version=None):
|
def get_client_instance(opts={}, api_version=None):
|
||||||
"""Get Freezerclient Instance.
|
"""Get Freezerclient Instance.
|
||||||
We will the provided auth dict to instantiate a client instance
|
We will the provided auth dict to instantiate a client instance
|
||||||
Returns freezerclient.v{x}.client.Client Object
|
Returns freezerclient.v{x}.client.Client Object
|
||||||
:return: Object
|
:return: Object
|
||||||
"""
|
"""
|
||||||
return get_client_class(api_version)(opts=opts, **kwargs)
|
return get_client_class(api_version)(**opts)
|
||||||
|
Loading…
Reference in New Issue
Block a user