Skip to content

Commit

Permalink
config_parse_test merge returns empty maps rather than nils
Browse files Browse the repository at this point in the history
  • Loading branch information
langmartin committed Jun 11, 2019
1 parent 0cd1402 commit 8d684ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions command/agent/config_parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ var pluginConfig = &Config{
Consul: nil,
Vault: nil,
TLSConfig: nil,
HTTPAPIResponseHeaders: nil,
HTTPAPIResponseHeaders: map[string]string{},
Sentinel: nil,
Plugins: []*config.PluginConfig{
{
Expand Down Expand Up @@ -355,7 +355,7 @@ var nonoptConfig = &Config{
Consul: nil,
Vault: nil,
TLSConfig: nil,
HTTPAPIResponseHeaders: nil,
HTTPAPIResponseHeaders: map[string]string{},
Sentinel: nil,
}

Expand Down

0 comments on commit 8d684ef

Please sign in to comment.