Skip to content

Commit c7101cd

Browse files
fix: Small fix to the legacy pilot
1 parent db4a1bf commit c7101cd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Pilot/dirac-pilot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
pilotUUID=pilotParams.pilotUUID,
8181
debugFlag=pilotParams.debugFlag,
8282
jwt=pilotParams.jwt,
83-
legacy_logging=pilotParams.isLegacyLogging,
83+
legacy_logging=pilotParams.isLegacyPilot,
8484
clientID=pilotParams.clientID
8585
)
8686
log.info("Remote logger activated")
@@ -142,7 +142,7 @@
142142
if remote:
143143
log.buffer.flush(force=True)
144144

145-
if not pilotParams.isLegacyLogging:
145+
if not pilotParams.isLegacyPilot:
146146
log.info("Revoking pilot token.")
147147
revokePilotToken(
148148
pilotParams.diracXServer,

Pilot/pilotTools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ def __init__(self, pilotParams):
813813
flushInterval=interval,
814814
bufsize=bufsize,
815815
jwt=pilotParams.jwt,
816-
legacy_logging=pilotParams.isLegacyLogging,
816+
legacy_logging=pilotParams.isLegacyPilot,
817817
clientID=pilotParams.clientID
818818
)
819819

0 commit comments

Comments
 (0)