mirror of
https://github.com/docker/cli.git
synced 2026-01-26 15:41:42 +03:00
remove uses of deprecated go-archive consts
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -480,7 +480,7 @@ func Compress(buildCtx io.ReadCloser) (io.ReadCloser, error) {
|
||||
pipeReader, pipeWriter := io.Pipe()
|
||||
|
||||
go func() {
|
||||
compressWriter, err := compression.CompressStream(pipeWriter, archive.Gzip)
|
||||
compressWriter, err := compression.CompressStream(pipeWriter, compression.Gzip)
|
||||
if err != nil {
|
||||
_ = pipeWriter.CloseWithError(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user