Skip to content

Commit e413b2b

Browse files
author
Robin VAN DE MERGHEL
committed
fix: Small typo in dirac admin add pilot
1 parent 8accb51 commit e413b2b

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)