discovery: fixup logline

before:

```
discovery: duringcluster status checkconnection tohttps://discovery.etcd.iotimed out, retrying in2s
```

after:

```
discovery: cluster status check: connection to https://discovery.etcd.io timed out, retrying in 2s
```
This commit is contained in:
Brandon Philips 2015-06-19 13:19:09 -04:00
parent 5787fabe5f
commit e71dc2e565

View File

@ -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)
}