Merge pull request #9083 from hashicorp/b-fix-enterprise-config-merge

agent: fix enterprise config overlay merging.
This commit is contained in:
James Rasell
2020-10-15 08:40:49 +02:00
committed by GitHub

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)