agent: merge RetryInterval in config merger

This commit is contained in:
Ryan Uber 2014-10-12 10:54:53 -07:00
parent 0266592205
commit f476166fe4

View file

@ -700,6 +700,9 @@ func MergeConfig(a, b *Config) *Config {
if b.RetryMaxAttempts != 0 {
result.RetryMaxAttempts = b.RetryMaxAttempts
}
if b.RetryInterval != 0 {
result.RetryInterval = b.RetryInterval
}
if b.DNSConfig.NodeTTL != 0 {
result.DNSConfig.NodeTTL = b.DNSConfig.NodeTTL
}