mirror of https://github.com/milvus-io/milvus.git
[skip ci]Fix golint for Server in distributed/querynode/service.go (#9728)
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>pull/9743/head
parent
61897166db
commit
806973fe83
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue