This commit is contained in:
2023-08-17 16:14:13 +02:00
parent ceabd1d76b
commit b10c025860

View File

@@ -47,7 +47,6 @@ type Group struct {
Check Check `yaml:"check"`
}
func main() {
log.Println("Starting")
@@ -172,7 +171,6 @@ func checkHost(status chan<- int, group string, host string, check Check, waitGr
func CheckHTTP(host string, check Check) error {
client := &http.Client{
Timeout: time.Duration(check.Timeout) * time.Second,
}