mirror of
https://github.com/slackhq/nebula.git
synced 2026-11-15 15:06:52 +01:00
lint
This commit is contained in:
1 parent
aacb4e2334
commit
7138a05f9b
1 file changed
+1
-2
@@ -4,7 +4,6 @@ package udp
|
||||
|
||||
import (
|
||||
"encoding/binary"
|
||||
"io"
|
||||
"log/slog"
|
||||
"net"
|
||||
"net/netip"
|
||||
@@ -89,7 +88,7 @@ func TestParseRecvCmsgOuterECNFamily(t *testing.T) {
|
||||
}
|
||||
|
||||
func testLogger() *slog.Logger {
|
||||
return slog.New(slog.NewTextHandler(io.Discard, nil))
|
||||
return slog.New(slog.DiscardHandler)
|
||||
}
|
||||
|
||||
// TestWriteBatchBadFamilyDeliversOthers is the H3 regression: a batch that
|
||||
|
||||
Reference in new issue
Block a user