From 6f524f5991892c5593f6595392294ba346cdc599 Mon Sep 17 00:00:00 2001 From: Ingo Oppermann Date: Wed, 17 Jul 2024 16:49:31 +0200 Subject: [PATCH] Use store.ProcessGetNode function --- http/handler/api/cluster_process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/handler/api/cluster_process.go b/http/handler/api/cluster_process.go index 247a5a4c..7db33417 100644 --- a/http/handler/api/cluster_process.go +++ b/http/handler/api/cluster_process.go @@ -641,7 +641,7 @@ func (h *ClusterHandler) ProcessProbe(c echo.Context) error { Domain: domain, } - nodeid, err := h.proxy.ProcessFindNodeID(pid) + nodeid, err := h.cluster.Store().ProcessGetNode(pid) if err != nil { return c.JSON(http.StatusOK, api.Probe{ Log: []string{fmt.Sprintf("the process can't be found: %s", err.Error())},