Skip to content

Commit

Permalink
Fix health check endpoint (#4231)
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Logvinov <serge.logvinov@gmail.com>
  • Loading branch information
sergelogvinov committed Oct 27, 2020
1 parent e37750c commit 6f2281e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/health/overloaded.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 6f2281e

Please sign in to comment.