mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
discovery: fix infoln -> info
This commit is contained in:
parent
8ad7ed321e
commit
2c5ab7ff8b
@ -252,7 +252,7 @@ func (d *discovery) checkCluster() ([]*client.Node, int, uint64, error) {
|
|||||||
func (d *discovery) logAndBackoffForRetry(step string) {
|
func (d *discovery) logAndBackoffForRetry(step string) {
|
||||||
d.retries++
|
d.retries++
|
||||||
retryTime := time.Second * (0x1 << d.retries)
|
retryTime := time.Second * (0x1 << d.retries)
|
||||||
plog.Infoln("during", step, "connection to", d.url, "timed out, retrying in", retryTime)
|
plog.Info("during", step, "connection to", d.url, "timed out, retrying in", retryTime)
|
||||||
d.clock.Sleep(retryTime)
|
d.clock.Sleep(retryTime)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user