Pass endpoint_type to Sahara client constructor
Currently endpoint_type is not passed to api.client.Client(), so the default (publicURL) is always applied. This results in useless --endpoint-type option and SAHARA_ENDPOINT_TYPE variable. Change-Id: If9f84776bee0dd8d1680418acebafd49ea876967 Closes-Bug: #1417527
This commit is contained in:
@@ -641,6 +641,7 @@ class OpenStackSaharaShell(object):
|
||||
project_name=os_tenant_name,
|
||||
auth_url=os_auth_url,
|
||||
sahara_url=bypass_url,
|
||||
endpoint_type=endpoint_type,
|
||||
session=keystone_session,
|
||||
auth=keystone_auth,
|
||||
cacert=os_cacert,
|
||||
|
||||
Reference in New Issue
Block a user