From d89b09c7e2ea7eea8156d6bcfb31e452df15d410 Mon Sep 17 00:00:00 2001 From: James Rasell Date: Wed, 14 Oct 2020 09:35:16 +0200 Subject: [PATCH] agent: fix enterprise config overlay merging. --- command/agent/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/agent/command.go b/command/agent/command.go index 0ed3ff33814..14d6351c6ab 100644 --- a/command/agent/command.go +++ b/command/agent/command.go @@ -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)