Skip to content

Commit 0b966f8

Browse files
committed
1 parent 2f3fbd4 commit 0b966f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exporters/otlp/src/otlp_grpc_client.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ std::shared_ptr<grpc::Channel> OtlpGrpcClient::MakeChannel(const OtlpGrpcClientO
296296
grpc::SslCredentialsOptions ssl_opts;
297297
ssl_opts.pem_root_certs = GetFileContentsOrInMemoryContents(
298298
options.ssl_credentials_cacert_path, options.ssl_credentials_cacert_as_string);
299-
#if ENABLE_OTLP_GRPC_SSL_MTLS_PREVIEW
299+
#ifdef ENABLE_OTLP_GRPC_SSL_MTLS_PREVIEW
300300
ssl_opts.pem_private_key = GetFileContentsOrInMemoryContents(options.ssl_client_key_path,
301301
options.ssl_client_key_string);
302302
ssl_opts.pem_cert_chain = GetFileContentsOrInMemoryContents(options.ssl_client_cert_path,

0 commit comments

Comments
 (0)