We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f3fbd4 commit 0b966f8Copy full SHA for 0b966f8
exporters/otlp/src/otlp_grpc_client.cc
@@ -296,7 +296,7 @@ std::shared_ptr<grpc::Channel> OtlpGrpcClient::MakeChannel(const OtlpGrpcClientO
296
grpc::SslCredentialsOptions ssl_opts;
297
ssl_opts.pem_root_certs = GetFileContentsOrInMemoryContents(
298
options.ssl_credentials_cacert_path, options.ssl_credentials_cacert_as_string);
299
-#if ENABLE_OTLP_GRPC_SSL_MTLS_PREVIEW
+#ifdef ENABLE_OTLP_GRPC_SSL_MTLS_PREVIEW
300
ssl_opts.pem_private_key = GetFileContentsOrInMemoryContents(options.ssl_client_key_path,
301
options.ssl_client_key_string);
302
ssl_opts.pem_cert_chain = GetFileContentsOrInMemoryContents(options.ssl_client_cert_path,
0 commit comments