[skip ci]Fix golint error for GetMetrics in rootcoord (#12379)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2021-11-29 19:27:45 +08:00 committed by GitHub
parent c9d31f0b73
commit 015bf4585d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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