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

@ -33,11 +33,10 @@ type Result struct {
}
type Service struct {
Name string `yaml:"name"`
Url string `yaml:"url"`
Interval time.Duration `yaml:"interval,omitempty"`
FailureThreshold int `yaml:"failure-threshold,omitempty"` // TODO: Implement
Conditions []*Condition `yaml:"conditions"`
Name string `yaml:"name"`
Url string `yaml:"url"`
Interval time.Duration `yaml:"interval,omitempty"`
Conditions []*Condition `yaml:"conditions"`
}
func (service *Service) getIp(result *Result) {