Skip to content

Commit

Permalink
fix incorrect as usage in MessageReceiver (#6105)
Browse files Browse the repository at this point in the history
Co-authored-by: Rajkumar Rangaraj <rajrang@microsoft.com>
  • Loading branch information
SimonCropp and rajkumar-rangaraj authored Jan 31, 2025
1 parent 0cfbf86 commit cccf1ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private IEnumerable<string> ExtractTraceContextFromBasicProperties(IBasicPropert
{
if (props.Headers.TryGetValue(key, out var value))
{
var bytes = value as byte[];
var bytes = (byte[])value;
return new[] { Encoding.UTF8.GetString(bytes) };
}
}
Expand Down

0 comments on commit cccf1ec

Please sign in to comment.