gofmt
This commit is contained in:
parent
ceabd1d76b
commit
b10c025860
|
@ -47,7 +47,6 @@ type Group struct {
|
||||||
Check Check `yaml:"check"`
|
Check Check `yaml:"check"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
log.Println("Starting")
|
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 {
|
func CheckHTTP(host string, check Check) error {
|
||||||
|
|
||||||
|
|
||||||
client := &http.Client{
|
client := &http.Client{
|
||||||
Timeout: time.Duration(check.Timeout) * time.Second,
|
Timeout: time.Duration(check.Timeout) * time.Second,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue