Fix health check endpoint (#4231)

Signed-off-by: Serge Logvinov <serge.logvinov@gmail.com>
This commit is contained in:
Serge
2020-10-27 10:15:42 +02:00
committed by GitHub
parent e37750ca1a
commit 6f2281ed40

View File

@@ -16,7 +16,7 @@ func (h *health) overloaded() {
client := http.Client{
Timeout: timeout,
}
url := "http://" + h.Addr
url := "http://" + h.Addr + "/health"
tick := time.NewTicker(1 * time.Second)
defer tick.Stop()