Skip to content

Commit 5aeb0b5

Browse files
committed
getCCDBTimeMachineTimestamp.py: set aliprod as default user in the CCDB object path
1 parent 1fffbf6 commit 5aeb0b5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎GRID/utils/getCCDBTimeMachineTimestamp.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,12 +364,12 @@ def main():
364364
parser.add_argument("--force-overwrite", action="store_true",
365365
help="overwrite the current CCDBTimeMachineTS object in the CCDB if one exists")
366366
parser.add_argument("--ccdb-url", default="https://alice-ccdb.cern.ch",
367-
help="ccdb host for the upload")
368-
parser.add_argument("--username", default=os.environ.get("JALIEN_USER"),
369-
help="username to be used for the upload to CCDB")
367+
help="ccdb host for the object query and upload")
368+
parser.add_argument("--username", default="aliprod",
369+
help="username to be used for the object's CCDB path")
370370
args = parser.parse_args()
371371

372-
missing = [n for n in ("production_tag", "year", "period", "run", "passname", "username") if not getattr(args, n)]
372+
missing = [n for n in ("production_tag", "year", "period", "run", "passname") if not getattr(args, n)]
373373
if missing:
374374
parser.error("missing required value(s): " + ", ".join(missing))
375375

0 commit comments

Comments
 (0)