summaryrefslogtreecommitdiff
path: root/internal/httpclient/sign.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/httpclient/sign.go')
-rw-r--r--internal/httpclient/sign.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/httpclient/sign.go b/internal/httpclient/sign.go
index 6b561c45a..eff20be49 100644
--- a/internal/httpclient/sign.go
+++ b/internal/httpclient/sign.go
@@ -32,9 +32,7 @@ type SignFunc func(r *http.Request) error
// (RoundTripper implementer) to check request
// context for a signing function and using for
// all subsequent trips through RoundTrip().
-type signingtransport struct {
- http.Transport // underlying transport
-}
+type signingtransport struct{ http.Transport }
func (t *signingtransport) RoundTrip(r *http.Request) (*http.Response, error) {
// Ensure updated host always set.