proxy: improve log for retrying an unavailable endpoint
Fixes #3541 Signed-off-by: Guohua ouyang <guohuaouyang@gmail.com>release-2.3
parent
f3d2b5831c
commit
e35eeeae42
|
@ -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())
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue