Fix interface arg to url_for()
https://review.openstack.org/#/c/276350/ fixed a keyword arg to service_catalog.url_for() that osc-lib lacked, add it. Change-Id: I18a28074d1a93a01225c0b310134c146f0283e66
This commit is contained in:
parent
4b7320ee12
commit
c574577704
@ -270,12 +270,14 @@ class ClientManager(object):
|
||||
endpoint = self.auth_ref.service_catalog.url_for(
|
||||
service_type=service_type,
|
||||
region_name=region_name,
|
||||
endpoint_type=interface,
|
||||
interface=interface,
|
||||
)
|
||||
else:
|
||||
# Get the passed endpoint directly from the auth plugin
|
||||
endpoint = self.auth.get_endpoint(self.session,
|
||||
interface=interface)
|
||||
endpoint = self.auth.get_endpoint(
|
||||
self.session,
|
||||
interface=interface,
|
||||
)
|
||||
return endpoint
|
||||
|
||||
def get_configuration(self):
|
||||
|
Loading…
Reference in New Issue
Block a user