Skip to content

Commit

Permalink
use local variables for readability
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspimentel committed Jan 9, 2025
1 parent be587d9 commit 755e081
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion utils/build/docker/dotnet/parametric/Endpoints/ApmTestApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ private static async Task<string> StartSpan(HttpRequest request)
{
foreach (var tag in tags.EnumerateArray())
{
span.SetTag(tag[0].GetString()!, tag[1].GetString());
var key = tag[0].GetString()!;
var value = tag[1].GetString();

span.SetTag(key, value);
}
}

Expand Down

0 comments on commit 755e081

Please sign in to comment.