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

[skip ci]Fix golint error for NewServer in QueryCoord (#10678)

Signed-off-by: Ncai.zhang <cai.zhang@zilliz.com>
上级 4ffa8458
......@@ -61,6 +61,7 @@ type Server struct {
closer io.Closer
}
// NewServer create a new QueryCoord grpc server.
func NewServer(ctx context.Context, factory msgstream.Factory) (*Server, error) {
ctx1, cancel := context.WithCancel(ctx)
svr, err := qc.NewQueryCoord(ctx1, factory)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册