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

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

Signed-off-by: Ncai.zhang <cai.zhang@zilliz.com>
上级 807ccd00
......@@ -73,6 +73,7 @@ func NewServer(ctx context.Context, factory msgstream.Factory) (*Server, error)
return s, nil
}
// init initializes QueryNode's grpc service.
func (s *Server) init() error {
Params.Init()
......@@ -172,10 +173,12 @@ func (s *Server) init() error {
return nil
}
// start starts QueryNode's grpc service.
func (s *Server) start() error {
return s.querynode.Start()
}
// startGrpcLoop starts the grpc loop of QueryNode component.
func (s *Server) startGrpcLoop(grpcPort int) {
defer s.wg.Done()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册