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 21, 2023
1 parent b9ef772 commit 6826b2a
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 6826b2a

Please sign in to comment.