forked from quic-go/quic-go
update golangci-lint action to v3, golangci-lint to v1.48.0 (#3499)
* run gofmt -s -w * stop using the deprecated io/ioutil package * update golangci-lint action to v3, golangci-lint to v1.48.0
This commit is contained in:
@@ -6,7 +6,6 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
mrand "math/rand"
|
||||
"net"
|
||||
"time"
|
||||
@@ -90,7 +89,7 @@ var _ = Describe("Handshake tests", func() {
|
||||
return nil
|
||||
}
|
||||
fmt.Fprintf(GinkgoWriter, "%s qlog tracing connection %x\n", p, connectionID)
|
||||
return utils.NewBufferedWriteCloser(bufio.NewWriter(&bytes.Buffer{}), ioutil.NopCloser(nil))
|
||||
return utils.NewBufferedWriteCloser(bufio.NewWriter(&bytes.Buffer{}), io.NopCloser(nil))
|
||||
}))
|
||||
}
|
||||
if enableCustomTracer {
|
||||
|
||||
Reference in New Issue
Block a user