aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/tar.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/pkg/tar.go')
-rw-r--r--internal/pkg/tar.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/pkg/tar.go b/internal/pkg/tar.go
index dc15a154..624eafe2 100644
--- a/internal/pkg/tar.go
+++ b/internal/pkg/tar.go
@@ -4,7 +4,6 @@ import (
"archive/tar"
"compress/bzip2"
"compress/gzip"
- "context"
"encoding/binary"
"errors"
"io"
@@ -42,13 +41,12 @@ func NewTar(a Artifact, compression uint64) Artifact {
// NewHTTPGetTar is abbreviation for NewHTTPGet passed to NewTar.
func NewHTTPGetTar(
- ctx context.Context,
hc *http.Client,
url string,
checksum Checksum,
compression uint64,
) Artifact {
- return NewTar(NewHTTPGet(ctx, hc, url, checksum), compression)
+ return NewTar(NewHTTPGet(hc, url, checksum), compression)
}
// Kind returns the hardcoded [Kind] constant.