mirror of
https://github.com/qdm12/gluetun.git
synced 2026-08-07 04:43:11 +02:00
chore(lint): bump linter from v2.4.0 to v2.11.4
This commit is contained in:
@@ -19,7 +19,7 @@ func (s *Server) Run(ctx context.Context, done chan<- struct{}) {
|
||||
ReadTimeout: readTimeout,
|
||||
}
|
||||
serverDone := make(chan struct{})
|
||||
go func() {
|
||||
go func() { //nolint:gosec
|
||||
defer close(serverDone)
|
||||
<-ctx.Done()
|
||||
const shutdownGraceDuration = 2 * time.Second
|
||||
|
||||
Reference in New Issue
Block a user