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

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
This commit is contained in:
cai.zhang 2021-10-26 19:44:26 +08:00 committed by GitHub
parent 4ffa8458ed
commit d6cc578d3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)