Skip to content

Commit

Permalink
Merge pull request #77 from artefactory/fix-service-account-key
Browse files Browse the repository at this point in the history
fix: empty the gcp credentials env var to force the right token
  • Loading branch information
AlexisVLRT authored Oct 8, 2021
2 parents 3248037 + 7f1cd26 commit 0b1d4a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/mlflow_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@


def get_token():
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = ""
if "mlflow-log-pusher-key.json" in os.listdir(Path(__file__).parent):
os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = str(Path(__file__).parent / "mlflow-log-pusher-key.json")
try:
Expand Down

0 comments on commit 0b1d4a1

Please sign in to comment.