Skip to content

Commit

Permalink
Use disable_context_propagation again
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Jul 19, 2024
1 parent 16dfb94 commit 92d8418
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,11 @@ def _determine_parent_context(
Returns:
A Context with configuration found in the carrier.
"""
parent_context = extract({})

parent_context = None

if not disable_aws_context_propagation:
parent_context = extract({})

# By Tyler: ensure the event context extractor is not invoked if there is an
# already active span context.
Expand Down

0 comments on commit 92d8418

Please sign in to comment.