From 331c630947df29affe4214dfd6d84bdb8fcb4cf7 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Thu, 21 Oct 2021 21:49:25 +0800 Subject: [PATCH] [skip ci] Fix golint for GetStatisticsChannel in QueryNode (#10396) Signed-off-by: cai.zhang --- internal/distributed/querynode/client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/querynode/client/client.go b/internal/distributed/querynode/client/client.go index 79b07a90cb..f13c6838ac 100644 --- a/internal/distributed/querynode/client/client.go +++ b/internal/distributed/querynode/client/client.go @@ -218,6 +218,7 @@ func (c *Client) GetTimeTickChannel(ctx context.Context) (*milvuspb.StringRespon return ret.(*milvuspb.StringResponse), err } +// GetStatisticsChannel gets the statistics channel of QueryNode. func (c *Client) GetStatisticsChannel(ctx context.Context) (*milvuspb.StringResponse, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()