Skip to content

Commit

Permalink
Merge pull request #7379 from DIRACGridBot/cherry-pick-2-a00710044-in…
Browse files Browse the repository at this point in the history
…tegration

[sweep:integration] fix(JobStateUpdate): for staging, make sure the jobID is an integer
  • Loading branch information
fstagni authored Jan 8, 2024
2 parents ccc0ed2 + 217af0b commit 151b8c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def export_updateJobFromStager(cls, jobID, status):
infoStr = None
trials = 10
for i in range(trials):
result = cls.jobDB.getJobAttributes(jobID, ["Status"])
result = cls.jobDB.getJobAttributes(int(jobID), ["Status"])
if not result["OK"]:
return result
if not result["Value"]:
Expand Down

0 comments on commit 151b8c7

Please sign in to comment.