Skip to content

Commit

Permalink
bugfixing
Browse files Browse the repository at this point in the history
  • Loading branch information
juandiegopalomino committed Apr 21, 2022
1 parent 1bc6194 commit a5cc2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opta/core/kubernetes.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def load_opta_kube_config_to_default(layer: "Layer") -> None:
constants.DEFAULT_KUBECONFIG.split(ENV_KUBECONFIG_PATH_SEPARATOR)[0]
)
if not exists(default_kube_config_filename):
with open(expanduser(default_kube_config_filename), "w") as f:
with open(default_kube_config_filename, "w") as f:
yaml.dump(opta_config, f)
return
default_kube_config = yaml.load(open(default_kube_config_filename))
Expand Down

0 comments on commit a5cc2f9

Please sign in to comment.