We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 642cc7f commit 520f319Copy full SHA for 520f319
pkg/exporter/passthru.go
@@ -45,7 +45,7 @@ type httpClientFactory func(endpoint string) (*http.Client, *http.Request, error
45
46
func newHttpClientFactory(auth Authentication, sslVerify bool, timeout time.Duration) httpClientFactory {
47
return func(endpoint string) (*http.Client, *http.Request, error) {
48
- transport := operatorHTTP.Transport(operatorHTTP.WithTransportTLS(util.BoolSwitch(sslVerify, operatorHTTP.Insecure, nil)))
+ transport := operatorHTTP.Transport(operatorHTTP.WithTransportTLS(util.BoolSwitch(sslVerify, nil, operatorHTTP.Insecure)))
49
50
req, err := http.NewRequest("GET", endpoint, nil)
51
if err != nil {
0 commit comments