diff --git a/internal/distributed/querynode/service.go b/internal/distributed/querynode/service.go index abc1f8a037..1e0b2d1522 100644 --- a/internal/distributed/querynode/service.go +++ b/internal/distributed/querynode/service.go @@ -279,6 +279,7 @@ func (s *Server) GetStatisticsChannel(ctx context.Context, req *internalpb.GetSt return s.querynode.GetStatisticsChannel(ctx) } +// GetComponentStates gets the component states of QueryNode. func (s *Server) GetComponentStates(ctx context.Context, req *internalpb.GetComponentStatesRequest) (*internalpb.ComponentStates, error) { // ignore ctx and in return s.querynode.GetComponentStates(ctx)