Skip to content

Commit

Permalink
Merge pull request #7474 from aldbr/v8.0_FIX_PushJobAgent-jobID
Browse files Browse the repository at this point in the history
[8.0] jobID type discrepancies in PushJobAgent
  • Loading branch information
fstagni authored Feb 15, 2024
2 parents adfca4d + b0e5778 commit f625cf2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/DIRAC/WorkloadManagementSystem/Agent/PushJobAgent.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def execute(self):
# Check matcher information returned
matcherParams = ["JDL", "DN", "Group"]
matcherInfo = jobRequest["Value"]
jobID = matcherInfo["JobID"]
jobID = str(matcherInfo["JobID"])
self.jobs[jobID] = {}
self.jobs[jobID]["JobReport"] = JobReport(jobID, f"{self.__class__.__name__}@{self.siteName}")
result = self._checkMatcherInfo(jobID, matcherInfo, matcherParams)
Expand Down Expand Up @@ -222,7 +222,6 @@ def execute(self):
self.failedQueues[queueName] += 1
break
submissionParams = result["Value"]
jobID = submissionParams["jobID"]
jobType = submissionParams["jobType"]

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

0 comments on commit f625cf2

Please sign in to comment.