From d6cc578d3f4fc9ec0de51f5a94bd2ba993c859f0 Mon Sep 17 00:00:00 2001 From: "cai.zhang" Date: Tue, 26 Oct 2021 19:44:26 +0800 Subject: [PATCH] [skip ci]Fix golint error for NewServer in QueryCoord (#10678) Signed-off-by: cai.zhang --- internal/distributed/querycoord/service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/distributed/querycoord/service.go b/internal/distributed/querycoord/service.go index e5432e6053..18647fe82e 100644 --- a/internal/distributed/querycoord/service.go +++ b/internal/distributed/querycoord/service.go @@ -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)