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

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
pull/16110/head
XuanYang-cn 2022-03-21 11:17:24 +08:00 committed by GitHub
parent 19baa7b282
commit 15a3fe41c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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")