From c344703200d1a00dfa274598af1db29654fbde49 Mon Sep 17 00:00:00 2001 From: James Rasell Date: Wed, 14 Oct 2020 09:19:42 +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 d94671e4e061..4fd23b70192c 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)