Skip to content

Commit 67754fd

Browse files
committed
rm log
1 parent b83b6ee commit 67754fd

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/DotNetWorker.Grpc/Handlers/InvocationHandler.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -188,14 +188,6 @@ private void AddTraceContextTags(InvocationResponse response, FunctionContext co
188188
{
189189
if (!known.Contains(key))
190190
{
191-
// Duplicate tags can exist for an Activity, but the gRPC message type
192-
// Map<string, string> does not allow for duplicate keys.
193-
// Log and overwrite in this scenario.
194-
if (response.TraceContextAttributes.ContainsKey(key))
195-
{
196-
_logger.LogDebug("Trace context attribute '{key}' already exists on the invocation response. Overwriting value.", key);
197-
}
198-
199191
response.TraceContextAttributes[key] = value;
200192
}
201193
}

0 commit comments

Comments
 (0)