diff --git a/command/agent/consul/client.go b/command/agent/consul/client.go index 6365eb0b8..ea3062ff8 100644 --- a/command/agent/consul/client.go +++ b/command/agent/consul/client.go @@ -74,7 +74,6 @@ type ServiceClient struct { client AgentAPI logger *log.Logger retryInterval time.Duration - syncInterval time.Duration // runningCh is closed when the main Run loop exits runningCh chan struct{} @@ -123,7 +122,6 @@ func NewServiceClient(consulClient AgentAPI, logger *log.Logger) *ServiceClient client: consulClient, logger: logger, retryInterval: defaultSyncInterval, //TODO what should this default to?! - syncInterval: defaultSyncInterval, runningCh: make(chan struct{}), shutdownCh: make(chan struct{}), shutdownWait: defaultShutdownWait,