[skip ci]Fix golint for ShowSegments in rootcoord (#12036)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2021-11-17 22:05:19 +08:00 committed by GitHub
parent 3b51232d59
commit 7b65cfb6ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)
}