Skip to content

Commit 086643d

Browse files
committed
minimum severity reporter fix
1 parent 1c24195 commit 086643d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/sniff/reporter.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@ impl Reporter {
106106
.await?;
107107
}
108108

109-
// Route to appropriate notification channels
109+
// Route to appropriate notification channels (respecting minimum severity)
110+
if alert_severity < self.notification_config.minimum_severity() {
111+
continue;
112+
}
110113
let channels = self
111114
.notification_config
112115
.configured_channels_for_severity(alert_severity);

0 commit comments

Comments
 (0)