type only imports, add empty guard for threshold breaches do Docker monitors don't get this

This commit is contained in:
Alex Holliday committed 2026-09-24 13:20:03 -07:00
1 parent 11c89d150a
commit f2c23636fe
4 files changed
+11 -4

No files matched your search

+1 -1
View File
@@ -298,7 +298,7 @@ export class WorkerPipeline implements IWorkerPipeline {
decision.incidentReason = "status_down";
decision.notificationReason = "status_change";
} else if (monitor.status === "breached") {
decision.thresholdBreaches = statusChange.thresholdBreaches;
if (statusChange.thresholdBreaches) decision.thresholdBreaches = statusChange.thresholdBreaches;
decision.shouldCreateIncident = true;
decision.shouldSendNotification = true;
decision.incidentReason = "threshold_breach";