Use store.ProcessGetNode function

This commit is contained in:
Ingo Oppermann 2024-07-17 16:49:31 +02:00
parent db564de1f1
commit 6f524f5991
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -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())},