Skip to content

Commit 03dfab4

Browse files
committed
remove uses of deprecated go-archive consts
Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent 0681819 commit 03dfab4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/command/image/build/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ func Compress(buildCtx io.ReadCloser) (io.ReadCloser, error) {
480480
pipeReader, pipeWriter := io.Pipe()
481481

482482
go func() {
483-
compressWriter, err := compression.CompressStream(pipeWriter, archive.Gzip)
483+
compressWriter, err := compression.CompressStream(pipeWriter, compression.Gzip)
484484
if err != nil {
485485
_ = pipeWriter.CloseWithError(err)
486486
}

0 commit comments

Comments
 (0)