Default service_type for endpoint lookup
Without this, the endpoint is failing to look up since the service_type is None. Change-Id: I9ea40ae348d57fa03a258b364566dfb9a66e1744
This commit is contained in:
parent
0aec0557db
commit
29367d9f08
@ -48,7 +48,7 @@ class KeystoneAuthPlugin(auth.BaseAuthPlugin):
|
|||||||
token = self._ksclient.auth_token
|
token = self._ksclient.auth_token
|
||||||
endpoint = (self.opts.get('endpoint') or
|
endpoint = (self.opts.get('endpoint') or
|
||||||
self._ksclient.service_catalog.url_for(
|
self._ksclient.service_catalog.url_for(
|
||||||
service_type=service_type,
|
service_type=service_type or 'management',
|
||||||
endpoint_type=endpoint_type))
|
endpoint_type=endpoint_type))
|
||||||
|
|
||||||
return (token, endpoint)
|
return (token, endpoint)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user