~egtann/srp

132a0c6e9bf4ca1fc4a16f164459b4dec4c58ebb — Evan Tann 3 years ago cbe6fef
simplify CheckHealth signature
1 files changed, 1 insertions(+), 1 deletions(-)

M proxy.go
M proxy.go => proxy.go +1 -1
@@ 124,7 124,7 @@ func (r Registry) clone() Registry {

// CheckHealth of backend servers in the registry concurrently, and update the
// registry so requests are only routed to healthy servers.
func (r *ReverseProxy) CheckHealth(client *http.Client) {
func (r *ReverseProxy) CheckHealth() {
	checks := []*healthCheck{}
	regClone := r.reg.clone()
	for host, frontend := range regClone {