Skip to content

Commit 9d6e67a

Browse files
committed
fix(): support new grpc client
1 parent 8694bb9 commit 9d6e67a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs

-4
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,6 @@ internal HttpClient AddCertificatesToHttpClient(HttpClientHandler handler)
289289

290290
// Create and return an HttpClient with the modified handler
291291
return new HttpClient(handler);
292-
#else
293-
// Handle alternative methods for earlier .NET versions
294-
throw new PlatformNotSupportedException("mTLS support requires .NET 6.0 or later.");
295-
#endif
296292
}
297293

298294
private static string GetUserAgentString()

0 commit comments

Comments
 (0)