remove log line for empty addresses which could confuse on initalization

This commit is contained in:
Chelsea Holland Komlo 2018-05-07 15:50:20 -04:00
parent 24ff40df01
commit 30584639b5

View file

@ -79,10 +79,6 @@ func (r *retryJoiner) RetryJoin(config *Config) {
}
}
if len(addrs) == 0 {
r.logger.Printf("[INFO] agent: Join completed. no addresses specified to sync with")
}
attempt++
if config.Server.RetryMaxAttempts > 0 && attempt > config.Server.RetryMaxAttempts {
r.logger.Printf("[ERR] agent: max join retry exhausted, exiting")