Skip to content

Commit

Permalink
fix: OwnerDN in JobAgent
Browse files Browse the repository at this point in the history
  • Loading branch information
aldbr committed Sep 25, 2023
1 parent 341156d commit aa2b2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DIRAC/WorkloadManagementSystem/Agent/JobAgent.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def execute(self):
)

self.jobReport.setJobStatus(minorStatus="Job Received by Agent", sendFlag=False)
ownerDN = getDNForUsername(owner)["Value"]
ownerDN = getDNForUsername(owner)["Value"][0]
result_setupProxy = self._setupProxy(ownerDN, jobGroup)
if not result_setupProxy["OK"]:
result = self._rescheduleFailedJob(jobID, result_setupProxy["Message"])
Expand Down

0 comments on commit aa2b2b6

Please sign in to comment.