diff --git a/command/agent/local.go b/command/agent/local.go index cef668966c..671b6e1eac 100644 --- a/command/agent/local.go +++ b/command/agent/local.go @@ -220,9 +220,7 @@ SYNC: l.logger.Printf("[ERR] agent: failed to sync remote state: %v", err) select { case <-l.consulCh: - continue case <-time.After(aeScale(syncRetryIntv, len(l.iface.LANMembers()))): - continue case <-shutdownCh: return }