From 090c4e3e93dbff7d5c0ef015fd60ffb251016ce4 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Mon, 8 Nov 2021 21:27:42 +0800 Subject: [PATCH] [skip ci] Fix golint for LoadCollection in QueryCoord (#11464) 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 fdb92c9046..b7dcadbba7 100644 --- a/internal/distributed/querycoord/client/client.go +++ b/internal/distributed/querycoord/client/client.go @@ -290,6 +290,7 @@ func (c *Client) ShowCollections(ctx context.Context, req *querypb.ShowCollectio return ret.(*querypb.ShowCollectionsResponse), err } +// LoadCollection loads the data of the specified collections in the QueryCoord. func (c *Client) LoadCollection(ctx context.Context, req *querypb.LoadCollectionRequest) (*commonpb.Status, error) { ret, err := c.recall(func() (interface{}, error) { client, err := c.getGrpcClient()