We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b436225 commit 1677680Copy full SHA for 1677680
src/codeflare_sdk/cluster/auth.py
@@ -109,11 +109,13 @@ def login(self) -> str:
109
elif self.skip_tls == False:
110
configuration.ssl_ca_cert = self.ca_cert_path
111
else:
112
+ urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
113
+ print("Insecure request warnings have been disabled")
114
configuration.verify_ssl = False
115
+
116
api_client = client.ApiClient(configuration)
117
client.AuthenticationApi(api_client).get_api_group()
118
config_path = None
- urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
119
return "Logged into %s" % self.server
120
except client.ApiException: # pragma: no cover
121
api_client = None
0 commit comments