mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
proxy: improve log for retrying an unavailable endpoint
Fixes #3541 Signed-off-by: Guohua ouyang <guohuaouyang@gmail.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user