From ebd7b4eee174e41af3e7fc7183420b3cfd1e5361 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Fri, 22 Oct 2021 19:33:40 +0800 Subject: [PATCH] [skip ci]Fix golint error for AddQueryChannel in QueryNode (#10474) 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 4720acf1d4..5b7e7aa8d1 100644 --- a/internal/distributed/querynode/client/client.go +++ b/internal/distributed/querynode/client/client.go @@ -241,6 +241,7 @@ func (c *Client) GetStatisticsChannel(ctx context.Context) (*milvuspb.StringResp return ret.(*milvuspb.StringResponse), err } +// AddQueryChannel adds query channel for QueryNode component. func (c *Client) AddQueryChannel(ctx context.Context, req *querypb.AddQueryChannelRequest) (*commonpb.Status, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()