From 015bf4585d969f8d6a9c38715181ea94f56151d4 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Mon, 29 Nov 2021 19:27:45 +0800 Subject: [PATCH] [skip ci]Fix golint error for GetMetrics in rootcoord (#12379) 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 70fca50914..c55ae7159c 100644 --- a/internal/distributed/rootcoord/service.go +++ b/internal/distributed/rootcoord/service.go @@ -405,6 +405,7 @@ func (s *Server) SegmentFlushCompleted(ctx context.Context, in *datapb.SegmentFl return s.rootCoord.SegmentFlushCompleted(ctx, in) } +// GetMetrics gets the metrics of RootCoord. func (s *Server) GetMetrics(ctx context.Context, in *milvuspb.GetMetricsRequest) (*milvuspb.GetMetricsResponse, error) { return s.rootCoord.GetMetrics(ctx, in) }