mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #3011 from philips/fixup-discovery-info-output
discovery: fixup logline
This commit is contained in:
commit
7ee4fb6181
@ -252,7 +252,7 @@ func (d *discovery) checkCluster() ([]*client.Node, int, uint64, error) {
|
||||
func (d *discovery) logAndBackoffForRetry(step string) {
|
||||
d.retries++
|
||||
retryTime := time.Second * (0x1 << d.retries)
|
||||
plog.Info("during", step, "connection to", d.url, "timed out, retrying in", retryTime)
|
||||
plog.Infof("%s: connection to %s timed out, retrying in %s", step, d.url, retryTime)
|
||||
d.clock.Sleep(retryTime)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user