Skip to content

Commit

Permalink
Update option for SignalFx
Browse files Browse the repository at this point in the history
(cherry picked from commit 3294221)
  • Loading branch information
Abdul Qadeer committed Feb 10, 2022
1 parent 577dc57 commit f3d1764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/watcher/internal/metricsprovider/signalfx.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func NewSignalFxClient(opts watcher.MetricsProviderOpts) (watcher.MetricsProvide
return nil, fmt.Errorf("metric provider name should be %v, found %v", watcher.SignalFxClientName, opts.Name)
}
tlsConfig := &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true}, // TODO(aqadeer): Figure out a secure way to let users add SSL certs
TLSClientConfig: &tls.Config{InsecureSkipVerify: opts.InsecureSkipVerify}, // TODO(aqadeer): Figure out a secure way to let users add SSL certs
}
hostNameSuffix, _ := os.LookupEnv(signalFxHostNameSuffixKey)
clusterName, _ := os.LookupEnv(signalFxClusterName)
Expand Down

0 comments on commit f3d1764

Please sign in to comment.