Skip to content

Commit dfd676f

Browse files
authored
Merge pull request #783 from fstagni/60_fixes_5
fix: still needs PilotManagerClient
2 parents 28c3271 + 8e552e7 commit dfd676f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/WebAppDIRAC/WebApp/handler/PilotMonitorHandler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from DIRAC import gConfig, S_OK, gLogger
55
from DIRAC.Core.Utilities.Graphs.Palette import Palette
66
from DIRAC.MonitoringSystem.Client.WebAppClient import WebAppClient
7+
from DIRAC.WorkloadManagementSystem.Client.PilotManagerClient import PilotManagerClient
78
from WebAppDIRAC.Lib.WebHandler import WebHandler
89

910

@@ -139,7 +140,7 @@ def __request(self):
139140
return req
140141

141142
def web_getJobInfoData(self, data):
142-
RPC = WebAppClient()
143+
RPC = PilotManagerClient()
143144
if self.get_argument("data_kind") == "getPilotOutput":
144145
if (result := RPC.getPilotOutput(data))["OK"]:
145146
return {"success": "true", "result": result["Value"]["StdOut"]}

0 commit comments

Comments
 (0)