Rename client/config/config's ConsulConfig to ConsulAgentConfig
A follow up commit to the previous rename. More to come.
This commit is contained in:
parent
1aefdb1e15
commit
e6c78274c8
|
@ -278,7 +278,7 @@ func (a *Agent) clientConfig() (*clientconfig.Config, error) {
|
||||||
conf.Version = fmt.Sprintf("%s%s", a.config.Version, a.config.VersionPrerelease)
|
conf.Version = fmt.Sprintf("%s%s", a.config.Version, a.config.VersionPrerelease)
|
||||||
conf.Revision = a.config.Revision
|
conf.Revision = a.config.Revision
|
||||||
|
|
||||||
conf.ConsulConfig = a.consulConfig
|
conf.ConsulAgentConfig = a.consulConfig
|
||||||
|
|
||||||
conf.StatsDataPoints = a.config.Client.StatsConfig.DataPoints
|
conf.StatsDataPoints = a.config.Client.StatsConfig.DataPoints
|
||||||
conf.StatsCollectionInterval = a.config.Client.StatsConfig.collectionInterval
|
conf.StatsCollectionInterval = a.config.Client.StatsConfig.collectionInterval
|
||||||
|
|
Loading…
Reference in New Issue