Skip to content

Commit

Permalink
test (flyteorg#2077)
Browse files Browse the repository at this point in the history
Signed-off-by: Future Outlier <[email protected]>
Co-authored-by: Future Outlier <[email protected]>
  • Loading branch information
Future-Outlier and Future Outlier authored Jan 2, 2024
1 parent e107994 commit 452a2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytekit/core/context_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def get(
fpath = self.get_secrets_file(group, key, group_version)
v = os.environ.get(env_var)
if v is not None:
return v
return v.strip()
if os.path.exists(fpath):
with open(fpath, encode_mode) as f:
return f.read().strip()
Expand Down

0 comments on commit 452a2ec

Please sign in to comment.