We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe4134 commit 063541fCopy full SHA for 063541f
pkg/util/grpcencoding/zstd/zstd.go
@@ -3,7 +3,6 @@ package zstd
3
import (
4
"bytes"
5
"io"
6
- "io/ioutil"
7
8
"github.com/klauspost/compress/zstd"
9
"google.golang.org/grpc/encoding"
@@ -65,7 +64,7 @@ func (z *zstdWriteCloser) Close() error {
65
64
}
66
67
func (c *compressor) Decompress(r io.Reader) (io.Reader, error) {
68
- compressed, err := ioutil.ReadAll(r)
+ compressed, err := io.ReadAll(r)
69
if err != nil {
70
return nil, err
71
0 commit comments