From 25be55b692bbbdbe7921c4ba908845634e68fa7b Mon Sep 17 00:00:00 2001 From: Rajkumar Rangaraj <rajrang@microsoft.com> Date: Wed, 11 Dec 2024 10:51:14 -0800 Subject: [PATCH] lint --- .../Implementation/Serializer/ProtobufOtlpTraceSerializer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/Serializer/ProtobufOtlpTraceSerializer.cs b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/Serializer/ProtobufOtlpTraceSerializer.cs index a7f64574e9b..a8e0609f8d0 100644 --- a/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/Serializer/ProtobufOtlpTraceSerializer.cs +++ b/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/Implementation/Serializer/ProtobufOtlpTraceSerializer.cs @@ -78,7 +78,7 @@ internal static int TryWriteResourceSpans(ref byte[] buffer, int writePosition, } internal static void ReturnActivityListToPool() - { + { if (scopeTracesList?.Count != 0) { foreach (var entry in scopeTracesList!)