diff --git a/options.go b/options.go index 949fbba80..f7d8e2460 100644 --- a/options.go +++ b/options.go @@ -131,7 +131,7 @@ func (o *Options) Validate() error { insecureTransport := &http.Transport{ TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, } - http.DefaultClient = &http.Client{Transport: insecureTransport} + http.DefaultTransport = insecureTransport } msgs := make([]string, 0)