Merge "update client to get the correct endpoint"

This commit is contained in:
Zuul 2023-08-18 12:16:42 +00:00 committed by Gerrit Code Review
commit a4bf3a1dc8

View File

@ -1035,7 +1035,7 @@ def get_auth_token_and_endpoint(region_name):
sess = session.Session(auth=auth)
try:
token = auth.get_token(sess)
endpoint = auth.get_endpoint(sess, service_type='software',
endpoint = auth.get_endpoint(sess, service_type='usm',
interface='internal',
region_name=region_name)
except (exceptions.http.Unauthorized, exceptions.EndpointNotFound) as e: