From d96efac9281c3b48eca9c19f8549765cb6375f72 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Mon, 1 Nov 2021 17:02:03 +0800 Subject: [PATCH] [skip ci]Fix golint error for GetPartitionStates in QueryCoord (#11000) Signed-off-by: cai.zhang --- internal/distributed/querycoord/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/querycoord/service.go b/internal/distributed/querycoord/service.go index 1c71577f37..4c68543a30 100644 --- a/internal/distributed/querycoord/service.go +++ b/internal/distributed/querycoord/service.go @@ -285,6 +285,7 @@ func (s *Server) ShowPartitions(ctx context.Context, req *querypb.ShowPartitions return s.queryCoord.ShowPartitions(ctx, req) } +// GetPartitionStates gets the states of the specified partition. func (s *Server) GetPartitionStates(ctx context.Context, req *querypb.GetPartitionStatesRequest) (*querypb.GetPartitionStatesResponse, error) { return s.queryCoord.GetPartitionStates(ctx, req) }