Skip to content

Commit 9b3334e

Browse files
vandonrandrewlock
andauthored
specify size
Co-authored-by: Andrew Lock <[email protected]>
1 parent 3c6e5bb commit 9b3334e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tracer/src/Datadog.Trace/ProcessTags.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ internal static class ProcessTags
2727
private static List<string> GetTagsList()
2828
{
2929
// ⚠️ make sure entries are added in alphabetical order of keys
30-
List<string> tags = [];
30+
var tags = new List<string>(3); // Update if you add more entries below
3131
tags.AddNormalizedTag(EntrypointBasedir, GetLastPathSegment(AppContext.BaseDirectory));
3232
tags.AddNormalizedTag(EntrypointName, GetEntryPointName());
3333
// workdir can be changed by the code, but we consider that capturing the value when this is called is good enough

0 commit comments

Comments
 (0)