Skip to content

Commit

Permalink
Merge pull request DIRACGrid#7378 from andresailer/8_fixStage
Browse files Browse the repository at this point in the history
[8.0] fix(JobStateUpdate): for staging, make sure the jobID is an integer
  • Loading branch information
fstagni authored Dec 20, 2023
2 parents 200ec47 + 5187a9c commit a007100
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,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 a007100

Please sign in to comment.