From 7b65cfb6abc349d7d87f3a7c00bd49c56039465a Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Wed, 17 Nov 2021 22:05:19 +0800 Subject: [PATCH] [skip ci]Fix golint for ShowSegments in rootcoord (#12036) Signed-off-by: Cai.Zhang --- internal/distributed/rootcoord/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/rootcoord/service.go b/internal/distributed/rootcoord/service.go index cfa6135854..581a9b06e9 100644 --- a/internal/distributed/rootcoord/service.go +++ b/internal/distributed/rootcoord/service.go @@ -378,6 +378,7 @@ func (s *Server) DescribeSegment(ctx context.Context, in *milvuspb.DescribeSegme return s.rootCoord.DescribeSegment(ctx, in) } +// ShowSegments gets all segments func (s *Server) ShowSegments(ctx context.Context, in *milvuspb.ShowSegmentsRequest) (*milvuspb.ShowSegmentsResponse, error) { return s.rootCoord.ShowSegments(ctx, in) }