summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-07-07 07:38:13 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-07 07:38:13 +0000
commit26972ddefa2349dcc1ffe96be25a905046be8110 (patch)
tree3c318c2901e58598a6f9e491b79ad982591c1c34
parent7c46badb8a1957d99a982228d71a3ee9f63bcd29 (diff)
parent9cc03b1bc771de15fe4caee25a769025ac81763c (diff)
Merge "Fix get_endpoint"
-rw-r--r--functest/utils/openstack_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/utils/openstack_utils.py b/functest/utils/openstack_utils.py
index f8719bf0c..4f8d6c357 100644
--- a/functest/utils/openstack_utils.py
+++ b/functest/utils/openstack_utils.py
@@ -175,11 +175,11 @@ def get_session_auth(other_creds={}):
return auth
-def get_endpoint(service_type, endpoint_type='publicURL'):
+def get_endpoint(service_type, interface='public'):
auth = get_session_auth()
return get_session().get_endpoint(auth=auth,
service_type=service_type,
- endpoint_type=endpoint_type)
+ interface=interface)
def get_session(other_creds={}):