From e77e1d72b80b96baa0ffa68642738f44b63066a4 Mon Sep 17 00:00:00 2001 From: Arindy Date: Mon, 29 Dec 2025 00:57:13 +0100 Subject: [PATCH] Remove redundant error logging in HTTP Prober --- apis/httpprober/main.go | 3 --- 1 file changed, 3 deletions(-) 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) {