From 2061808c02dbf7ee4d1c01c2b8c98bf30ab50c54 Mon Sep 17 00:00:00 2001 From: Oleksiy Dubinin Date: Fri, 3 Mar 2023 10:54:43 +0100 Subject: [PATCH] #1034: fixed trailing whitespaces --- .../Implementation/AWSMessagingUtils.cs | 2 +- .../Implementation/SqsRequestContextAdapter.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/OpenTelemetry.Contrib.Instrumentation.AWS/Implementation/AWSMessagingUtils.cs b/src/OpenTelemetry.Contrib.Instrumentation.AWS/Implementation/AWSMessagingUtils.cs index a9c52f23a1..8b1e57f852 100644 --- a/src/OpenTelemetry.Contrib.Instrumentation.AWS/Implementation/AWSMessagingUtils.cs +++ b/src/OpenTelemetry.Contrib.Instrumentation.AWS/Implementation/AWSMessagingUtils.cs @@ -29,7 +29,7 @@ internal static void Inject(IRequestContextAdapter request, PropagationContext p } var carrier = new Dictionary(); - Propagators.DefaultTextMapPropagator.Inject(propagationContext, carrier, (c, k, v) => c[k] = v); + Propagators.DefaultTextMapPropagator.Inject(propagationContext, carrier, (c, k, v) => c[k] = v); request.AddAttributes(carrier); } } diff --git a/src/OpenTelemetry.Contrib.Instrumentation.AWS/Implementation/SqsRequestContextAdapter.cs b/src/OpenTelemetry.Contrib.Instrumentation.AWS/Implementation/SqsRequestContextAdapter.cs index af5e37e4aa..9a7be2ddb2 100644 --- a/src/OpenTelemetry.Contrib.Instrumentation.AWS/Implementation/SqsRequestContextAdapter.cs +++ b/src/OpenTelemetry.Contrib.Instrumentation.AWS/Implementation/SqsRequestContextAdapter.cs @@ -67,7 +67,6 @@ public void AddAttributes(IReadOnlyDictionary attributes) } } - private void AddAttribute(string name, string value, int attributeIndex) { if (!this.CanInject)