Remove failure-threshold property

This commit is contained in:
TwinProduction
2019-10-10 22:42:30 -04:00
parent f979957166
commit 339c1dfb04
5 changed files with 4 additions and 20 deletions

View File

@ -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
}