Added RPC calls to get the status from the master on non-master nodes
Release / release (push) Has been cancelled

This commit is contained in:
2026-05-14 00:00:58 +00:00
parent 46abc09b11
commit bd437f49e4
2 changed files with 30 additions and 1 deletions
+1 -1
View File
@@ -189,7 +189,7 @@ func (c *controlServer) handleConn(ctx context.Context, conn net.Conn) {
func (c *controlServer) dispatch(ctx context.Context, req CtrlRequest) CtrlResponse {
switch req.Method {
case CtrlStatus:
return ok(c.d.buildStatus())
return ok(c.d.buildStatusForCLI(ctx))
case CtrlMutate:
var body MutateBody