未验证 提交 806973fe 编写于 作者: C cai.zhang 提交者: GitHub

[skip ci]Fix golint for Server in distributed/querynode/service.go (#9728)

Signed-off-by: Ncai.zhang <cai.zhang@zilliz.com>
上级 61897166
......@@ -44,6 +44,7 @@ import (
type UniqueID = typeutil.UniqueID
// Server is the grpc server of QueryNode.
type Server struct {
querynode types.QueryNodeComponent
wg sync.WaitGroup
......@@ -59,6 +60,7 @@ type Server struct {
closer io.Closer
}
// NewServer create a new QueryNode grpc server.
func NewServer(ctx context.Context, factory msgstream.Factory) (*Server, error) {
ctx1, cancel := context.WithCancel(ctx)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册