From 54653ceebeabaf30e89d69e0f5aa5de431cc6bd7 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 22 Sep 2022 05:54:49 -0400 Subject: Update vendor or containers/buildah Signed-off-by: Daniel J Walsh --- vendor/github.com/klauspost/compress/zstd/blockdec.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'vendor/github.com/klauspost/compress/zstd/blockdec.go') diff --git a/vendor/github.com/klauspost/compress/zstd/blockdec.go b/vendor/github.com/klauspost/compress/zstd/blockdec.go index 7eed729be..f52d1aed6 100644 --- a/vendor/github.com/klauspost/compress/zstd/blockdec.go +++ b/vendor/github.com/klauspost/compress/zstd/blockdec.go @@ -10,7 +10,6 @@ import ( "errors" "fmt" "io" - "io/ioutil" "os" "path/filepath" "sync" @@ -651,7 +650,7 @@ func (b *blockDec) prepareSequences(in []byte, hist *history) (err error) { fatalErr(binary.Write(&buf, binary.LittleEndian, hist.decoders.matchLengths.fse)) fatalErr(binary.Write(&buf, binary.LittleEndian, hist.decoders.offsets.fse)) buf.Write(in) - ioutil.WriteFile(filepath.Join("testdata", "seqs", fn), buf.Bytes(), os.ModePerm) + os.WriteFile(filepath.Join("testdata", "seqs", fn), buf.Bytes(), os.ModePerm) } return nil -- cgit v1.2.3-54-g00ecf