Remove unused syncInterval
This commit is contained in:
parent
e204a287ed
commit
0143bef8c7
|
@ -74,7 +74,6 @@ type ServiceClient struct {
|
||||||
client AgentAPI
|
client AgentAPI
|
||||||
logger *log.Logger
|
logger *log.Logger
|
||||||
retryInterval time.Duration
|
retryInterval time.Duration
|
||||||
syncInterval time.Duration
|
|
||||||
|
|
||||||
// runningCh is closed when the main Run loop exits
|
// runningCh is closed when the main Run loop exits
|
||||||
runningCh chan struct{}
|
runningCh chan struct{}
|
||||||
|
@ -123,7 +122,6 @@ func NewServiceClient(consulClient AgentAPI, logger *log.Logger) *ServiceClient
|
||||||
client: consulClient,
|
client: consulClient,
|
||||||
logger: logger,
|
logger: logger,
|
||||||
retryInterval: defaultSyncInterval, //TODO what should this default to?!
|
retryInterval: defaultSyncInterval, //TODO what should this default to?!
|
||||||
syncInterval: defaultSyncInterval,
|
|
||||||
runningCh: make(chan struct{}),
|
runningCh: make(chan struct{}),
|
||||||
shutdownCh: make(chan struct{}),
|
shutdownCh: make(chan struct{}),
|
||||||
shutdownWait: defaultShutdownWait,
|
shutdownWait: defaultShutdownWait,
|
||||||
|
|
Loading…
Reference in a new issue