mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
[skip e2e]Fix comments of exposed functions in QC (#16094)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>
This commit is contained in:
parent
19baa7b282
commit
15a3fe41c5
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user