From 8d684ef34a9c113a216ee7a5ec08308020c7d2ab Mon Sep 17 00:00:00 2001 From: Lang Martin Date: Tue, 11 Jun 2019 16:15:58 -0400 Subject: [PATCH] config_parse_test merge returns empty maps rather than nils --- command/agent/config_parse_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command/agent/config_parse_test.go b/command/agent/config_parse_test.go index 4c6a348aab46..aea94556a6c1 100644 --- a/command/agent/config_parse_test.go +++ b/command/agent/config_parse_test.go @@ -289,7 +289,7 @@ var pluginConfig = &Config{ Consul: nil, Vault: nil, TLSConfig: nil, - HTTPAPIResponseHeaders: nil, + HTTPAPIResponseHeaders: map[string]string{}, Sentinel: nil, Plugins: []*config.PluginConfig{ { @@ -355,7 +355,7 @@ var nonoptConfig = &Config{ Consul: nil, Vault: nil, TLSConfig: nil, - HTTPAPIResponseHeaders: nil, + HTTPAPIResponseHeaders: map[string]string{}, Sentinel: nil, }