Skip to content

Commit 2dfa6b7

Browse files
committed
fix golangci-lint failures
Signed-off-by: Imran Pochi <[email protected]>
1 parent dedeefa commit 2dfa6b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cmd/server/app/server.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ func (p *Proxy) runUDSFrontendServer(ctx context.Context, o *options.ProxyRunOpt
336336
"udsFile", o.UdsName,
337337
)
338338
go runpprof.Do(context.Background(), labels, func(context.Context) { grpcServer.Serve(lis) })
339-
stop = func(ctx context.Context) error {
339+
stop = func(_ context.Context) error {
340340
grpcServer.GracefulStop()
341341
return nil
342342
}
@@ -407,7 +407,7 @@ func (p *Proxy) getTLSConfig(caFile, certFile, keyFile string, cipherSuites []st
407407
return tlsConfig, nil
408408
}
409409

410-
func (p *Proxy) runMTLSFrontendServer(ctx context.Context, o *options.ProxyRunOptions, s *server.ProxyServer) (StopFunc, error) {
410+
func (p *Proxy) runMTLSFrontendServer(_ context.Context, o *options.ProxyRunOptions, s *server.ProxyServer) (StopFunc, error) {
411411
var stop StopFunc
412412

413413
var tlsConfig *tls.Config
@@ -434,7 +434,7 @@ func (p *Proxy) runMTLSFrontendServer(ctx context.Context, o *options.ProxyRunOp
434434
"port", strconv.Itoa(o.ServerPort),
435435
)
436436
go runpprof.Do(context.Background(), labels, func(context.Context) { grpcServer.Serve(lis) })
437-
stop = func(ctx context.Context) error {
437+
stop = func(_ context.Context) error {
438438
grpcServer.GracefulStop()
439439
return nil
440440
}

0 commit comments

Comments
 (0)