chore: bump golangci-lint and fix all linting issues (#21761)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user