From b3cb985684adbde74daa1683b86c66f516eaa954 Mon Sep 17 00:00:00 2001 From: Ariana Barzinpour Date: Thu, 29 Feb 2024 04:49:17 +0000 Subject: [PATCH] remove silent exit on PBS_JOBID as it causes script to silently fail on ARE --- nci_environment/dea/scripts/datacube-ensure-user.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nci_environment/dea/scripts/datacube-ensure-user.py b/nci_environment/dea/scripts/datacube-ensure-user.py index 0f66680..b53ad04 100755 --- a/nci_environment/dea/scripts/datacube-ensure-user.py +++ b/nci_environment/dea/scripts/datacube-ensure-user.py @@ -57,10 +57,6 @@ def main(hostname, port, dbusername): ~/.pgpass can have :::: e.g., *:*:*:: """ - - if "PBS_JOBID" in os.environ: - return - dbcreds = DBCreds( host=hostname, port=str(port),