mirror of
https://github.com/TwiN/gatus.git
synced 2026-02-15 16:10:05 +00:00
Remove failure-threshold property
This commit is contained in:
@@ -34,9 +34,6 @@ func ParseConfigBytes(yamlBytes []byte) *Config {
|
||||
config = &Config{}
|
||||
yaml.Unmarshal(yamlBytes, config)
|
||||
for _, service := range config.Services {
|
||||
if service.FailureThreshold == 0 {
|
||||
service.FailureThreshold = 1
|
||||
}
|
||||
if service.Interval == 0 {
|
||||
service.Interval = 10 * time.Second
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user