Skip to content

Commit

Permalink
fix: incident id (keephq#1367)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl authored Jul 11, 2024
1 parent 28897cd commit 0c1f2b4
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def _format_alert(
event_time = event_time.isoformat(timespec="milliseconds").replace(
"+00:00", "Z"
)

# Construct the alert object
alert = AlertDto(
id=incident_id,
Expand All @@ -114,6 +115,7 @@ def _format_alert(
description=description,
severity=severity,
url=url,
incident_id=incident_id,
gcp=incident, # rest of the fields
)

Expand Down

0 comments on commit 0c1f2b4

Please sign in to comment.