Commit 65e2658 1 parent 38671ea commit 65e2658 Copy full SHA for 65e2658
File tree 1 file changed +1
-2
lines changed
src/DIRAC/WorkloadManagementSystem/Agent
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ def execute(self):
213
213
# Check matcher information returned
214
214
matcherParams = ["JDL" , "DN" , "Group" ]
215
215
matcherInfo = jobRequest ["Value" ]
216
- jobID = matcherInfo ["JobID" ]
216
+ jobID = str ( matcherInfo ["JobID" ])
217
217
218
218
self .jobs [jobID ] = {}
219
219
self .jobs [jobID ]["JobReport" ] = JobReport (jobID , f"{ self .__class__ .__name__ } @{ self .siteName } " )
@@ -253,7 +253,6 @@ def execute(self):
253
253
self .jobs [jobID ]["JobReport" ].setJobStatus (status = JobStatus .FAILED , minorStatus = result ["Message" ])
254
254
return self ._finish (result ["Value" ], self .stopOnApplicationFailure )
255
255
submissionParams = result ["Value" ]
256
- jobID = submissionParams ["jobID" ]
257
256
jobType = submissionParams ["jobType" ]
258
257
259
258
self .log .verbose ("Job request successful: \n " , jobRequest ["Value" ])
You can’t perform that action at this time.
0 commit comments