From e35eeeae42cf8ec39bb8e4debb5bc099137eda68 Mon Sep 17 00:00:00 2001 From: Guohua ouyang Date: Mon, 21 Sep 2015 16:16:11 +0800 Subject: [PATCH] proxy: improve log for retrying an unavailable endpoint Fixes #3541 Signed-off-by: Guohua ouyang --- proxy/director.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/director.go b/proxy/director.go index 0cfe37d89..2fa51e2db 100644 --- a/proxy/director.go +++ b/proxy/director.go @@ -126,7 +126,7 @@ func timedUnavailabilityFunc(wait time.Duration) func(*endpoint) { return func(ep *endpoint) { time.AfterFunc(wait, func() { ep.Available = true - log.Printf("proxy: marked endpoint %s available", ep.URL.String()) + log.Printf("proxy: marked endpoint %s available, to retest connectivity", ep.URL.String()) }) } }