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 d415cd9 commit 0c7fce9Copy full SHA for 0c7fce9
cmd/server/main.go
@@ -93,9 +93,6 @@ func setupSysdigClient(cfg *config.Config) (sysdig.ExtendedClientWithResponsesIn
93
94
if cfg.SkipTLSVerification {
95
transport := http.DefaultTransport.(*http.Transport).Clone()
96
- if transport.TLSClientConfig == nil {
97
- transport.TLSClientConfig = &tls.Config{}
98
- }
99
transport.TLSClientConfig.InsecureSkipVerify = true
100
httpClient := &http.Client{Transport: transport}
101
0 commit comments