소스 검색

proxy: improve log for retrying an unavailable endpoint

Fixes #3541

Signed-off-by: Guohua ouyang <guohuaouyang@gmail.com>
Guohua ouyang 11 년 전
부모
커밋
e35eeeae42
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  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())
 		})
 	}
 }