Skip to content

Commit 06bffa4

Browse files
committed
read redriveCount as int
1 parent 4ec08d3 commit 06bffa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datadog_lambda/tracing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def _generate_sfn_parent_id(context: dict) -> int:
396396
state_name = context.get("State").get("Name")
397397
state_entered_time = context.get("State").get("EnteredTime")
398398

399-
redrive_postfix = "" if redrive_count == "0" else f"#{redrive_count}"
399+
redrive_postfix = "" if redrive_count == 0 else f"#{redrive_count}"
400400

401401
return _deterministic_sha256_hash(
402402
f"{execution_id}#{state_name}#{state_entered_time}{redrive_postfix}",

0 commit comments

Comments
 (0)