Commit 6f2281ed authored by Serge's avatar Serge Committed by GitHub

Fix health check endpoint (#4231)

Signed-off-by: default avatarSerge Logvinov <serge.logvinov@gmail.com>
parent e37750ca
...@@ -16,7 +16,7 @@ func (h *health) overloaded() { ...@@ -16,7 +16,7 @@ func (h *health) overloaded() {
client := http.Client{ client := http.Client{
Timeout: timeout, Timeout: timeout,
} }
url := "http://" + h.Addr url := "http://" + h.Addr + "/health"
tick := time.NewTicker(1 * time.Second) tick := time.NewTicker(1 * time.Second)
defer tick.Stop() defer tick.Stop()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment