From 16d9813a47d52c1fcab43f57433a1f40661bfa73 Mon Sep 17 00:00:00 2001 From: "Rifqi Alfi/IAB(YA)" Date: Tue, 2 Apr 2024 12:32:21 +0700 Subject: [PATCH] apply review feedback --- src/axolotl/utils/vessl_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/axolotl/utils/vessl_.py b/src/axolotl/utils/vessl_.py index ae50de3d1d..346a6d2281 100644 --- a/src/axolotl/utils/vessl_.py +++ b/src/axolotl/utils/vessl_.py @@ -9,5 +9,5 @@ def setup_vessl_env_vars(cfg: DictDefault): # VESSL_RUN_INITIAL_CONFIG is a variable that contain path to # default credential inside a VESSL Run credential_path = os.environ.get("VESSL_RUN_INITIAL_CONFIG") - if credential_path: + if credential_path and not cfg.vessl_credential_path: cfg.vessl_credential_path = credential_path