Skip to content

Commit 6bd15cb

Browse files
removing changes in tracer
1 parent 4c48de7 commit 6bd15cb

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

datadog_lambda/tracing.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -627,17 +627,6 @@ def extract_dd_trace_context(
627627

628628
if extractor is not None:
629629
context = extract_context_custom_extractor(extractor, event, lambda_context)
630-
elif isinstance(event, (set, dict)) and "request" in event:
631-
request = event.get("request")
632-
if isinstance(request, (set, dict)) and "headers" in request:
633-
context = extract_context_from_http_event_or_context(
634-
request,
635-
lambda_context,
636-
event_source,
637-
decode_authorizer_context=False,
638-
)
639-
else:
640-
context = extract_context_from_lambda_context(lambda_context)
641630
elif isinstance(event, (set, dict)) and "headers" in event:
642631
context = extract_context_from_http_event_or_context(
643632
event, lambda_context, event_source, decode_authorizer_context

0 commit comments

Comments
 (0)