We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31485f4 commit b0ca2f5Copy full SHA for b0ca2f5
src/codeflare_sdk/cluster/auth.py
@@ -25,6 +25,8 @@
25
26
global path_set
27
path_set = False
28
+global api_client
29
+api_client = None
30
31
32
class Authentication(metaclass=abc.ABCMeta):
@@ -165,5 +167,7 @@ def config_check():
165
167
Function for loading the config file at the default config location ~/.kube/config if the user has not
166
168
specified their own config file or has logged in with their token and server.
169
"""
170
+ global path_set
171
+ global api_client
172
if path_set == False and api_client == None:
173
config.load_kube_config()
0 commit comments