Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sdk/python/kfp/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def _load_config(
in_cluster = True
try:
k8s.config.load_incluster_config()
except:
except Exception:
in_cluster = False

if in_cluster:
Expand All @@ -313,7 +313,7 @@ def _load_config(
try:
k8s.config.load_kube_config(
client_configuration=config, context=kube_context)
except:
except Exception:
print('Failed to load kube config.')
return config

Expand Down
Loading