Skip to content

Commit 8faf5c1

Browse files
authored
Merge pull request #8205 from fstagni/80_deprecate_kill_pilot
[8.0] added deprecation notice for killPilot
2 parents 2e4317e + 4329b85 commit 8faf5c1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/DIRAC/WorkloadManagementSystem/Service/PilotManagerHandler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ def export_getPilots(cls, jobID):
339339
types_killPilot = [[str, list]]
340340

341341
@classmethod
342+
@deprecated("Removed from DIRAC v9 (use DIRAC.Interfaces.API.DiracAdmin.DiracAdmin().killPilot() instead)")
342343
def export_killPilot(cls, pilotRefList):
343344
"""Kill the specified pilots"""
344345
# Make a list if it is not yet

0 commit comments

Comments
 (0)