From 66974b642879a79db6aaab1efe8b5e7cb432964d Mon Sep 17 00:00:00 2001 From: Ali Anwar Date: Fri, 26 Sep 2014 16:15:53 -0700 Subject: [PATCH] fix for mistake in previous commit. --- .../python/cdap_auth_client/AbstractAuthenticationClient.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cdap-authentication-clients/python/cdap_auth_client/AbstractAuthenticationClient.py b/cdap-authentication-clients/python/cdap_auth_client/AbstractAuthenticationClient.py index a43382c..098ecb1 100644 --- a/cdap-authentication-clients/python/cdap_auth_client/AbstractAuthenticationClient.py +++ b/cdap-authentication-clients/python/cdap_auth_client/AbstractAuthenticationClient.py @@ -82,9 +82,9 @@ def fetch_auth_url(self): raise ValueError(u"Base authentication" u" client is not configured!") LOG.debug(u"Try to get the authentication URI from " - u"the gateway server: {}.", self.__base_url + GATEWAY_VERSION + '/ping') + u"the gateway server: {}.", self.__base_url + self.GATEWAY_VERSION + '/ping') - response = requests.get(self.__base_url + GATEWAY_VERSION + '/ping', + response = requests.get(self.__base_url + self.GATEWAY_VERSION + '/ping', verify=self.ssl_verification_status()) result = None if response.status_code == hl.UNAUTHORIZED: