Use store.ProcessGetNode function

This commit is contained in:
Ingo Oppermann
2024-07-17 16:49:09 +02:00
parent e12fb0be52
commit db564de1f1

View File

@@ -70,7 +70,7 @@ func (c *cluster) ProcessSetCommand(origin string, id app.ProcessID, command str
return c.applyCommand(cmd)
}
nodeid, err := c.manager.ProcessFindNodeID(id)
nodeid, err := c.store.ProcessGetNode(id)
if err != nil {
return fmt.Errorf("the process '%s' is not registered with any node: %w", id.String(), err)
}