From 8e552e7635c03a2a674b127ba4de49d789e2cd49 Mon Sep 17 00:00:00 2001 From: Federico Stagni Date: Fri, 23 May 2025 11:52:49 +0200 Subject: [PATCH] fix: still needs PilotManagerClient --- src/WebAppDIRAC/WebApp/handler/PilotMonitorHandler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/WebAppDIRAC/WebApp/handler/PilotMonitorHandler.py b/src/WebAppDIRAC/WebApp/handler/PilotMonitorHandler.py index cc92073e..228ce631 100644 --- a/src/WebAppDIRAC/WebApp/handler/PilotMonitorHandler.py +++ b/src/WebAppDIRAC/WebApp/handler/PilotMonitorHandler.py @@ -4,6 +4,7 @@ from DIRAC import gConfig, S_OK, gLogger from DIRAC.Core.Utilities.Graphs.Palette import Palette from DIRAC.MonitoringSystem.Client.WebAppClient import WebAppClient +from DIRAC.WorkloadManagementSystem.Client.PilotManagerClient import PilotManagerClient from WebAppDIRAC.Lib.WebHandler import WebHandler @@ -139,7 +140,7 @@ def __request(self): return req def web_getJobInfoData(self, data): - RPC = WebAppClient() + RPC = PilotManagerClient() if self.get_argument("data_kind") == "getPilotOutput": if (result := RPC.getPilotOutput(data))["OK"]: return {"success": "true", "result": result["Value"]["StdOut"]}