mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for NewQueryNode func (#8699)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/8673/head
parent
c982e368dd
commit
5490b84e77
|
@ -83,6 +83,7 @@ type QueryNode struct {
|
|||
etcdKV *etcdkv.EtcdKV
|
||||
}
|
||||
|
||||
// NewQueryNode will return a QueryNode with abnormal state.
|
||||
func NewQueryNode(ctx context.Context, factory msgstream.Factory) *QueryNode {
|
||||
ctx1, cancel := context.WithCancel(ctx)
|
||||
node := &QueryNode{
|
||||
|
|
Loading…
Reference in New Issue