Fix lint errors

This commit is contained in:
世界
2026-04-10 12:10:02 +08:00
parent 012db0ef0e
commit 5779b46ca6
3 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func NewHTTP3MeasurementClientFactory(dialer N.Dialer) (MeasurementClientFactory
if dialErr != nil {
return nil, dialErr
}
var wrappedConn net.Conn = udpConn
wrappedConn := udpConn
if len(readCounters) > 0 || len(writeCounters) > 0 {
wrappedConn = sBufio.NewCounterConn(udpConn, readCounters, writeCounters)
}