Skip to content

Commit

Permalink
allow multiple alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
creatorcary committed Aug 7, 2024
1 parent 85c6a26 commit cdae959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewared/middlewared/alert/source/snapshot_count.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async def _check_smb(self) -> list[Alert]:
to_alert.append(Alert(
SnapshotCountAlertClass,
{"dataset": path, "count": count, "max": max_},
key=None,
key=path,
))

return to_alert
Expand Down

0 comments on commit cdae959

Please sign in to comment.