summaryrefslogtreecommitdiff
path: root/vendor/github.com/klauspost/compress/zstd/snappy.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-10 20:08:43 -0400
committerGitHub <noreply@github.com>2021-06-10 20:08:43 -0400
commited983c9030a9896aabcbca4a9af62496956d6cac (patch)
tree94ee535b22093e3beecd94c98a65d4edcd0002df /vendor/github.com/klauspost/compress/zstd/snappy.go
parent0c38ac44efcaa83f98c727408fbba78456f9edd8 (diff)
parentb5890fc86bdaacccf0e523c5c2774e1fd1c675f6 (diff)
downloadpodman-ed983c9030a9896aabcbca4a9af62496956d6cac.tar.gz
podman-ed983c9030a9896aabcbca4a9af62496956d6cac.tar.bz2
podman-ed983c9030a9896aabcbca4a9af62496956d6cac.zip
Merge pull request #10628 from containers/dependabot/go_modules/github.com/containers/storage-1.32.2
Bump github.com/containers/storage from 1.32.1 to 1.32.2
Diffstat (limited to 'vendor/github.com/klauspost/compress/zstd/snappy.go')
-rw-r--r--vendor/github.com/klauspost/compress/zstd/snappy.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/klauspost/compress/zstd/snappy.go b/vendor/github.com/klauspost/compress/zstd/snappy.go
index 9d9d1d567..0372b1714 100644
--- a/vendor/github.com/klauspost/compress/zstd/snappy.go
+++ b/vendor/github.com/klauspost/compress/zstd/snappy.go
@@ -203,7 +203,7 @@ func (r *SnappyConverter) Convert(in io.Reader, w io.Writer) (int64, error) {
written += int64(n)
continue
case chunkTypeUncompressedData:
- if debug {
+ if debugEncoder {
println("Uncompressed, chunklen", chunkLen)
}
// Section 4.3. Uncompressed data (chunk type 0x01).
@@ -246,7 +246,7 @@ func (r *SnappyConverter) Convert(in io.Reader, w io.Writer) (int64, error) {
continue
case chunkTypeStreamIdentifier:
- if debug {
+ if debugEncoder {
println("stream id", chunkLen, len(snappyMagicBody))
}
// Section 4.1. Stream identifier (chunk type 0xff).