Fix health check ping

This commit is contained in:
Ọlámilékan
2026-01-13 11:58:05 +01:00
committed by GitHub
parent dc6d54532d
commit 5d3706468d
+6 -1
View File
@@ -61,7 +61,12 @@ func Do(staticConfiguration static.Configuration) (*http.Response, error) {
return nil, fmt.Errorf("ping: missing %s entry point", ep)
}
client := &http.Client{Timeout: 5 * time.Second}
client := &http.Client{
Timeout: 5 * time.Second,
Transport: &http.Transport{
Proxy: nil,
},
}
protocol := "http"
// TODO Handle TLS on ping etc...