Skip to content

Commit

Permalink
remove silent exit on PBS_JOBID as it causes script to silently fail …
Browse files Browse the repository at this point in the history
…on ARE
  • Loading branch information
Ariana Barzinpour authored and omad committed Jun 27, 2024
1 parent f40b1e8 commit b3cb985
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nci_environment/dea/scripts/datacube-ensure-user.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ def main(hostname, port, dbusername):
~/.pgpass can have <hostname>:<port>:<database>:<username>:<password>
e.g., *:*:*:<dbusername>:<password>
"""

if "PBS_JOBID" in os.environ:
return

dbcreds = DBCreds(
host=hostname,
port=str(port),
Expand Down

0 comments on commit b3cb985

Please sign in to comment.