From 9cf68b1076fc6e5cb54b47e7462369f40c3c9288 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Fri, 5 Nov 2021 18:05:23 +0800 Subject: [PATCH] [skip ci]Fix golint error for GetStatisticsChannel in QueryCoord (#11328) Signed-off-by: cai.zhang --- internal/distributed/querycoord/client/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/querycoord/client/client.go b/internal/distributed/querycoord/client/client.go index 474d004fc3..61069acb2c 100644 --- a/internal/distributed/querycoord/client/client.go +++ b/internal/distributed/querycoord/client/client.go @@ -258,6 +258,7 @@ func (c *Client) GetTimeTickChannel(ctx context.Context) (*milvuspb.StringRespon return ret.(*milvuspb.StringResponse), err } +// GetStatisticsChannel gets the statistics channel of QueryCoord. func (c *Client) GetStatisticsChannel(ctx context.Context) (*milvuspb.StringResponse, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()