diff --git a/apis/httpprober/main.go b/apis/httpprober/main.go index 733e1ea..87ed6a7 100644 --- a/apis/httpprober/main.go +++ b/apis/httpprober/main.go @@ -3,7 +3,6 @@ package httpprober import ( "crypto/tls" "encoding/json" - "fmt" "io" "net/http" "os" @@ -69,13 +68,11 @@ func buildHTTPClient() (*http.Client, error) { func testMethod(client *http.Client, target Website) int { req, err := http.NewRequest("GET", target.URL, nil) if err != nil { - fmt.Println(err) return -2 } resp, err := client.Do(req) if err != nil { - fmt.Println(err) return -1 } defer func(body io.ReadCloser) {