fix(alerting): Adjust minimum reminder config parsing (#1226)
* Update minimum repeat interval parsing * Update minimum repeat interval parsing
This commit is contained in:
1 parent
a49b9145d2
commit
d41cfc0d16
2 files changed
+9
No files matched your search
@@ -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 (
|
||||
|
||||
Reference in new issue
Block a user