From 15a3fe41c5402f5969219cba64c110de81105e8e Mon Sep 17 00:00:00 2001 From: XuanYang-cn Date: Mon, 21 Mar 2022 11:17:24 +0800 Subject: [PATCH] [skip e2e]Fix comments of exposed functions in QC (#16094) Signed-off-by: yangxuan --- internal/querycoord/query_coord.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/querycoord/query_coord.go b/internal/querycoord/query_coord.go index f1a3db5532..a9d79c7490 100644 --- a/internal/querycoord/query_coord.go +++ b/internal/querycoord/query_coord.go @@ -321,7 +321,7 @@ func NewQueryCoord(ctx context.Context, factory msgstream.Factory) (*QueryCoord, return service, nil } -// SetRootCoord sets root coordinator's client +// SetEtcdClient sets etcd's client func (qc *QueryCoord) SetEtcdClient(etcdClient *clientv3.Client) { qc.etcdCli = etcdClient } @@ -346,6 +346,7 @@ func (qc *QueryCoord) SetDataCoord(dataCoord types.DataCoord) error { return nil } +// SetIndexCoord sets index coordinator's client func (qc *QueryCoord) SetIndexCoord(indexCoord types.IndexCoord) error { if indexCoord == nil { return errors.New("null IndexCoord interface")