Skip to content

Commit

Permalink
fix: fix id bug in DAQJobHealthcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
furkan-bilgin committed Oct 16, 2024
1 parent 255d1ce commit 01de38d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/daq/jobs/healthcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def handle_checks(self):

# Alert if it's new
for item, should_alert in res:
item_id = id(item)
item_id = id(item.to_json())
if should_alert and item_id not in self._sent_alert_items:
self._sent_alert_items.add(item_id)
self.send_alert(item)
Expand Down

0 comments on commit 01de38d

Please sign in to comment.