Remove unused syncInterval

This commit is contained in:
Michael Schurter 2017-03-30 16:40:24 -07:00
parent e204a287ed
commit 0143bef8c7

View file

@ -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,