fix the mistralclient set endpoint_type invaild

The reason is that mistralclient transfer error parameter
for keystoneauth.

Closes-Bug: #1854339
(cherry picked from commit c060dd7a1e)

Change-Id: I052e2ea5ebfadc5cc5113ec98c3e02e4e838a36f
This commit is contained in:
ramboman
2019-12-11 12:58:50 +08:00
parent 1712bd4b6c
commit a999a9b8ac

View File

@@ -171,7 +171,7 @@ class KeystoneAuthHandler(mistral_auth.AuthHandler):
try:
mistral_url = session.get_endpoint(
service_type=service_type,
endpoint_type=endpoint_type,
interface=endpoint_type,
region_name=region_name
)
except Exception: