diff --git a/pkg/getter/getter.go b/pkg/getter/getter.go index 4f8e9da52..653b032fe 100644 --- a/pkg/getter/getter.go +++ b/pkg/getter/getter.go @@ -121,6 +121,7 @@ func WithUntar() Option { } } +// WithTransport sets the http.Transport to allow overwriting the HTTPGetter default. func WithTransport(transport *http.Transport) Option { return func(opts *options) { opts.transport = transport