diff --git a/internal/querycoord/query_coord.go b/internal/querycoord/query_coord.go index f1a3db5532a2f63125b0c4c941aa49d667f0d109..a9d79c7490f3de0953d49ab0046b906443264dfb 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")