Skip to content

Commit 714686d

Browse files
Robin VAN DE MERGHELRobin-Van-de-Merghel
authored andcommitted
fix: Small typo in dirac admin add pilot
1 parent 13992cf commit 714686d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DIRAC/WorkloadManagementSystem/scripts/dirac_admin_add_pilot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def main():
7474
if not DErrno.cmpError(res, DErrno.EWMSNOPILOT):
7575
gLogger.error(res["Message"])
7676
DIRACExit(1)
77-
res = pmc.addPilotReferences(pilotStamp, VO, gridType, {pilotStamp: pilotRef})
77+
res = pmc.addPilotReferences([pilotStamp], VO, gridType, {pilotStamp: pilotRef})
7878
if not res["OK"]:
7979
gLogger.error(res["Message"])
8080
DIRACExit(1)

0 commit comments

Comments
 (0)