From dc4ea1533978a37cfbaee9714954b37e3ef97b13 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Sat, 23 Oct 2021 18:19:45 +0800 Subject: [PATCH] [skip ci]Fix golint error for LoadSegments in QueryNode (#10508) 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 8667f17f04..24362aff7c 100644 --- a/internal/distributed/querynode/client/client.go +++ b/internal/distributed/querynode/client/client.go @@ -289,6 +289,7 @@ func (c *Client) WatchDmChannels(ctx context.Context, req *querypb.WatchDmChanne return ret.(*commonpb.Status), err } +// LoadSegments loads the segments to search. func (c *Client) LoadSegments(ctx context.Context, req *querypb.LoadSegmentsRequest) (*commonpb.Status, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()