未验证 提交 15a3fe41 编写于 作者: X XuanYang-cn 提交者: GitHub

[skip e2e]Fix comments of exposed functions in QC (#16094)

Signed-off-by: Nyangxuan <xuan.yang@zilliz.com>
上级 19baa7b2
......@@ -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")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册