Added RPC calls to get the status from the master on non-master nodes
Release / release (push) Has been cancelled
Release / release (push) Has been cancelled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user