diff --git a/http/handler.go b/http/handler.go index 63e51ef6d..c91adef68 100644 --- a/http/handler.go +++ b/http/handler.go @@ -702,7 +702,6 @@ func (h *Handler) handleGetStatus(w http.ResponseWriter, r *http.Request) { status := getStatusResponse{ State: h.api.State(), Nodes: h.api.Hosts(r.Context()), - NodeStates: h.api.HostStates(r.Context()), LocalID: h.api.Node().ID, ClusterName: h.api.ClusterName(), } @@ -760,11 +759,10 @@ type getSchemaResponse struct { } type getStatusResponse struct { - State string `json:"state"` - Nodes []*pilosa.Node `json:"nodes"` - NodeStates map[string]string `json:"nodeStates"` - LocalID string `json:"localID"` - ClusterName string `json:"clusterName"` + State string `json:"state"` + Nodes []*pilosa.Node `json:"nodes"` + LocalID string `json:"localID"` + ClusterName string `json:"clusterName"` } func hash(s string) string {