summaryrefslogtreecommitdiff
path: root/vendor/github.com/klauspost/pgzip/gzip.go
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2020-03-25 09:17:16 +0000
committerDaniel J Walsh <dwalsh@redhat.com>2020-03-25 08:30:02 -0400
commit2a3fe3566671cb292a70339fee089d999ba29400 (patch)
treec9be6ffc231b31ca9aa1308310b8266eaf470046 /vendor/github.com/klauspost/pgzip/gzip.go
parent69b011d3ac39b985cdbd2bacfa1eaeba166bf224 (diff)
downloadpodman-2a3fe3566671cb292a70339fee089d999ba29400.tar.gz
podman-2a3fe3566671cb292a70339fee089d999ba29400.tar.bz2
podman-2a3fe3566671cb292a70339fee089d999ba29400.zip
Bump github.com/containers/storage from 1.16.5 to 1.16.6
Bumps [github.com/containers/storage](https://github.com/containers/storage) from 1.16.5 to 1.16.6. - [Release notes](https://github.com/containers/storage/releases) - [Changelog](https://github.com/containers/storage/blob/master/docs/containers-storage-changes.md) - [Commits](https://github.com/containers/storage/compare/v1.16.5...v1.16.6) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'vendor/github.com/klauspost/pgzip/gzip.go')
-rw-r--r--vendor/github.com/klauspost/pgzip/gzip.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/klauspost/pgzip/gzip.go b/vendor/github.com/klauspost/pgzip/gzip.go
index bb2e33941..cb3dc0896 100644
--- a/vendor/github.com/klauspost/pgzip/gzip.go
+++ b/vendor/github.com/klauspost/pgzip/gzip.go
@@ -85,7 +85,7 @@ func (z *Writer) SetConcurrency(blockSize, blocks int) error {
z.blockSize = blockSize
z.results = make(chan result, blocks)
z.blocks = blocks
- z.dstPool = sync.Pool{New: func() interface{} { return make([]byte, 0, blockSize+(blockSize)>>4) }}
+ z.dstPool.New = func() interface{} { return make([]byte, 0, blockSize+(blockSize)>>4) }
return nil
}