agent: fix enterprise config overlay merging.

This commit is contained in:
James Rasell
2020-10-14 09:35:16 +02:00
parent 512fa09652
commit d89b09c7e2

View File

@@ -225,7 +225,7 @@ func (c *Command) readConfig() *Config {
}
// Merge in the enterprise overlay
config.Merge(DefaultEntConfig())
config = config.Merge(DefaultEntConfig())
for _, path := range configPath {
current, err := LoadConfig(path)