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
2025-08-25 20:31:23 -07:00
committed by GitHub
parent a49b9145d2
commit d41cfc0d16
2 changed files with 9 additions and 0 deletions

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 (