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:
Adrien Vergé
2015-02-03 12:28:02 +01:00
parent a8308c9112
commit f28a33f52f

View File

@@ -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,