Skip to content

Commit

Permalink
Passing context not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
dtorok committed Jul 23, 2024
1 parent 492ea15 commit c25ef63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,6 @@ def _instrumented_lambda_handler_call( # noqa pylint: disable=too-many-branches
try:
with tracer.start_as_current_span(
name=orig_handler_name,
context=parent_context,
kind=span_kind,
) as span:
if span.is_recording():
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def custom_event_context_extractor(lambda_event):
xray_traceid=MOCK_XRAY_TRACE_CONTEXT_SAMPLED,
),
TestCase(
name="baggae_propagation",
name="baggage_propagation",
custom_extractor=None,
context={
"headers": {
Expand Down

0 comments on commit c25ef63

Please sign in to comment.