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 dd29234 commit 88a7c44Copy full SHA for 88a7c44
exporters/otlp/otlplog/otlploggrpc/example_test.go
@@ -50,9 +50,7 @@ func Example_selfSignedCertificates() {
50
clientKey := os.Getenv("CUSTOM_CLIENT_KEY")
51
if caFile != "" && clientCert != "" && clientKey != "" {
52
// mTLS connection
53
- tlsCfg := tls.Config{
54
- InsecureSkipVerify: false,
55
- }
+ tlsCfg := tls.Config{}
56
// loads CA certificate
57
pool := x509.NewCertPool()
58
data, err := os.ReadFile(caFile)
0 commit comments