Przeglądaj źródła

proxy: improve log for retrying an unavailable endpoint

Fixes #3541

Signed-off-by: Guohua ouyang <guohuaouyang@gmail.com>
Guohua ouyang 10 lat temu
rodzic
commit
e35eeeae42
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      proxy/director.go

+ 1 - 1
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())
 		})
 	}
 }