Skip to content

Commit c47fc62

Browse files
avedmalakimi-p
andauthored
Update trigger comment
Co-authored-by: kimi <47579703+kimi-p@users.noreply.github.com>
1 parent 49dbaf2 commit c47fc62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datadog_lambda/trigger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def parse_event_source_arn(source: _EventSource, event: dict, context: Any) -> s
256256
if source.event_type == EventTypes.CLOUDWATCH_EVENTS and event.get("resources"):
257257
return event.get("resources")[0]
258258

259-
# e.g. arn:aws:states:us-east-1:123456789012:stateMachine:stateMachineName
259+
# Returning state machine arn as event source arn.
260260
if source.event_type == EventTypes.STEPFUNCTIONS:
261261
context = event
262262
if "_datadog" in event:

0 commit comments

Comments
 (0)