Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
simaoribeiro committed Oct 12, 2023
1 parent 10c324e commit c458d2f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ private static void InjectTraceContextIntoBasicProperties(IMessageContext contex
{
if (!context.Headers.Any(x => x.Key == key))
{
context.Headers.Add(key, Encoding.ASCII.GetBytes(value));
context.Headers.SetString(key, value, Encoding.ASCII);
}
}
catch (Exception ex)
Expand Down

0 comments on commit c458d2f

Please sign in to comment.