Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
pymonger committed Aug 20, 2024
1 parent 71cf92d commit 94f71d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform-unity/evaluators/sns-sqs-lambda/data.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def lambda_handler(event, context):
trace_id = generate_trace_id(start_time)
segment_id = generate_segment_id()
else:
d = { k:v for k,v in [i.split("=") for i in d.split(";")]}
d = { k:v for k,v in [i.split("=") for i in aws_trace_header.split(";")]}
trace_id = d.get("Root", generate_trace_id(start_time))
segment_id = d.get("Parent", generate_segment_id())
Expand Down

0 comments on commit 94f71d1

Please sign in to comment.