File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments