mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 00:04:15 -04:00
Fix health check endpoint (#4231)
Signed-off-by: Serge Logvinov <serge.logvinov@gmail.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user