Skip to content

Commit

Permalink
Update tracer/src/Datadog.Trace/ClrProfiler/AutoInstrumentation/AWS/L…
Browse files Browse the repository at this point in the history
…ambda/LambdaCommon.cs

Co-authored-by: Lucas Pimentel <lucas.pimentel@datadoghq.com>
  • Loading branch information
agocs and lucaspimentel committed Oct 9, 2024
1 parent d55b9c0 commit 4a8acf6
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ internal static Scope SendStartInvocation(ILambdaExtensionRequest requestBuilder
WriteRequestHeaders(request, context);
var response = (HttpWebResponse)request.GetResponse();

// response.Headers is a WebHeaderCollection, which is not convertable to IHeadersCollection, so we have to make it into a dictionary.
var headers = response.Headers;
if (!ValidateOkStatus(response))
{
Expand Down

0 comments on commit 4a8acf6

Please sign in to comment.