mirror of
https://opendev.org/openstack/python-keystoneclient.git
synced 2026-01-17 07:20:28 +00:00
Merge "Prevent an uncaught exception from being rasied."
This commit is contained in:
commit
eaffdf4cc8
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ class Client(client.HTTPClient):
|
|||
# to determine what to do. Otherwise, load up the service catalog
|
||||
self.auth_token = self.auth_ref.auth_token
|
||||
if self.auth_ref.scoped:
|
||||
if self.management_url is None:
|
||||
if self.management_url is None and self.auth_ref.management_url:
|
||||
self.management_url = self.auth_ref.management_url[0]
|
||||
self.tenant_name = self.auth_ref.tenant_name
|
||||
self.tenant_id = self.auth_ref.tenant_id
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue