Skip to content

Commit a007100

Browse files
authored
Merge pull request #7378 from andresailer/8_fixStage
[8.0] fix(JobStateUpdate): for staging, make sure the jobID is an integer
2 parents 200ec47 + 5187a9c commit a007100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/WorkloadManagementSystem/Service/JobStateUpdateHandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def export_updateJobFromStager(cls, jobID, status):
6868
infoStr = None
6969
trials = 10
7070
for i in range(trials):
71-
result = cls.jobDB.getJobAttributes(jobID, ["Status"])
71+
result = cls.jobDB.getJobAttributes(int(jobID), ["Status"])
7272
if not result["OK"]:
7373
return result
7474
if not result["Value"]:

0 commit comments

Comments
 (0)