diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-02-03 03:42:10 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2021-02-03 03:52:08 +0300 |
commit | f6e3cae7630404c0775279c7942a3fae53a50afe (patch) | |
tree | a8ee4a7dc944c1a2ef48b50550447121affcc082 /internal/artifact | |
parent | 174e0a4e6f8371409b01808236e8e39923883c78 (diff) |
Simplify meteredRoundTripper init
Use file.html explicitly in test
Diffstat (limited to 'internal/artifact')
-rw-r--r-- | internal/artifact/artifact.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/artifact/artifact.go b/internal/artifact/artifact.go index 922aeeee..64156589 100644 --- a/internal/artifact/artifact.go +++ b/internal/artifact/artifact.go @@ -52,7 +52,7 @@ func New(server string, timeoutSeconds int, pagesDomain string) *Artifact { suffix: "." + strings.ToLower(pagesDomain), client: &http.Client{ Timeout: time.Second * time.Duration(timeoutSeconds), - Transport: httptransport.InternalTransport, + Transport: httptransport.DefaultTransport, }, } } |