Skip to content

Commit

Permalink
Support environment variables in server config (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkorpine authored Aug 15, 2024
1 parent 929c7b0 commit 3f7f528
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions artifactory_cleanup/loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ def get_connection(self) -> Tuple[str, str, str]:
user = config["artifactory-cleanup"]["user"]
password = config["artifactory-cleanup"]["password"]

server = os.path.expandvars(server)
user = os.path.expandvars(user)
password = os.path.expandvars(password)
return server, user, password
Expand Down

0 comments on commit 3f7f528

Please sign in to comment.