mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Fix comments of exposed functions in QC (#16094)
Signed-off-by: yangxuan <xuan.yang@zilliz.com>pull/16110/head
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…
Reference in New Issue