Skip to content

Commit 3bd49a9

Browse files
authored
Merge pull request #7475 from DIRACGridBot/cherry-pick-2-f625cf24c-integration
[sweep:integration] jobID type discrepancies in PushJobAgent
2 parents 299978e + f7879d2 commit 3bd49a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/DIRAC/WorkloadManagementSystem/Agent/PushJobAgent.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def execute(self):
184184
# Check matcher information returned
185185
matcherParams = ["JDL", "Owner", "Group"]
186186
matcherInfo = jobRequest["Value"]
187-
jobID = matcherInfo["JobID"]
187+
jobID = str(matcherInfo["JobID"])
188188
self.jobs[jobID] = {}
189189
self.jobs[jobID]["JobReport"] = JobReport(jobID, f"{self.__class__.__name__}@{self.siteName}")
190190
result = self._checkMatcherInfo(jobID, matcherInfo, matcherParams)
@@ -219,7 +219,6 @@ def execute(self):
219219
self.failedQueues[queueName] += 1
220220
break
221221
submissionParams = result["Value"]
222-
jobID = submissionParams["jobID"]
223222
jobType = submissionParams["jobType"]
224223

225224
self.log.verbose("Job request successful: \n", jobRequest["Value"])

0 commit comments

Comments
 (0)