Skip to content

Commit fa1ac03

Browse files
committed
Merge 'bitly/pull/651' (ssl-insecure-skip-verify DefaultTransport)
2 parents d9c7986 + 7f05fe9 commit fa1ac03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

options.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ func (o *Options) Validate() error {
131131
insecureTransport := &http.Transport{
132132
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
133133
}
134-
http.DefaultClient = &http.Client{Transport: insecureTransport}
134+
http.DefaultTransport = insecureTransport
135135
}
136136

137137
msgs := make([]string, 0)

0 commit comments

Comments
 (0)