chore: bump golangci-lint and fix all linting issues (#21761)

This commit is contained in:
Julien Robert
2024-09-16 19:11:19 +00:00
committed by GitHub
parent 52ba264c80
commit cbdfd9bdfa
186 changed files with 114 additions and 455 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ func ListenerMux(listeners ...Listener) Listener {
mux.onBatch = func(batch PacketBatch) error {
for _, listener := range listeners {
err := batch.apply(&listener)
err := batch.apply(&listener) //nolint:gosec // aliasing is safe here
if err != nil {
return err
}