Skip to content

Commit

Permalink
Add docs block
Browse files Browse the repository at this point in the history
Signed-off-by: Matthias Fehr <matthias@monostream.com>
(cherry picked from commit 2acda0c)
  • Loading branch information
matthiasfehr authored and mattfarina committed Apr 8, 2022
1 parent ab4dc78 commit 65b6e6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/getter/getter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 65b6e6d

Please sign in to comment.