Fix guess auth version error
Currently, the guess auth version in freezer client is not correct, because opts.os_identity_api_version has never been initialized. This patch will fix it. Change-Id: Ie5ff077213956a48dcd13c75b6855be7402d253c Closes-Bug: #1715539
This commit is contained in:
parent
bce796ca18
commit
254e609cff
@ -135,6 +135,7 @@ class Client(object):
|
||||
self.opts.os_project_domain_name = project_domain_name or None
|
||||
self.opts.os_project_domain_id = project_domain_id or None
|
||||
self.opts.auth_version = version
|
||||
self.opts.os_identity_api_version = version
|
||||
self.opts.os_cacert = cacert or None
|
||||
self.opts.insecure = insecure
|
||||
self.opts.cert = cert
|
||||
|
@ -137,6 +137,7 @@ class Client(object):
|
||||
self.opts.os_project_domain_name = project_domain_name or None
|
||||
self.opts.os_project_domain_id = project_domain_id or None
|
||||
self.opts.auth_version = version
|
||||
self.opts.os_identity_api_version = version
|
||||
self.opts.os_cacert = cacert or None
|
||||
self.opts.insecure = insecure
|
||||
self.opts.cert = cert
|
||||
|
Loading…
Reference in New Issue
Block a user