agent: fix enterprise config overlay merging.

This commit is contained in:
James Rasell 2020-10-14 09:35:16 +02:00
parent 9370fe3d16
commit e0734bed77
No known key found for this signature in database
GPG key ID: AA7D460F5C8377AA

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)