fix(alerting): Adjust minimum reminder config parsing (#1226)

* Update minimum repeat interval parsing

* Update minimum repeat interval parsing
This commit is contained in:
Sean Kelly authored and GitHub committed 2025-08-25 23:31:23 -04:00
1 parent a49b9145d2
commit d41cfc0d16
2 files changed
+9

No files matched your search

+3
View File
@@ -84,6 +84,9 @@ func MergeProviderDefaultAlertIntoEndpointAlert(providerDefaultAlert, endpointAl
if endpointAlert.SuccessThreshold == 0 {
endpointAlert.SuccessThreshold = providerDefaultAlert.SuccessThreshold
}
if endpointAlert.MinimumReminderInterval == 0 {
endpointAlert.MinimumReminderInterval = providerDefaultAlert.MinimumReminderInterval
}
}
var (