mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-26 01:43:41 +01:00
fix default
This commit is contained in:
parent
f83ce9993f
commit
f52432aa4b
@ -57,7 +57,7 @@ func ParseWithDefaultAlert(providerDefaultAlert, endpointAlert *alert.Alert) {
|
||||
if endpointAlert.SuccessThreshold == 0 {
|
||||
endpointAlert.SuccessThreshold = providerDefaultAlert.SuccessThreshold
|
||||
}
|
||||
if endpointAlert.RepeatInterval > 0 {
|
||||
if endpointAlert.RepeatInterval == 0 {
|
||||
endpointAlert.RepeatInterval = providerDefaultAlert.RepeatInterval
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user