From 6527c38f997dc6dbbeb8c83f7eac815209203683 Mon Sep 17 00:00:00 2001 From: Danielle Lancashire Date: Wed, 21 Aug 2019 22:19:58 +0200 Subject: [PATCH] clientconfig: Fix parsing multiple host volumes --- command/agent/config_parse.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/agent/config_parse.go b/command/agent/config_parse.go index 0056af6ef..34e192b74 100644 --- a/command/agent/config_parse.go +++ b/command/agent/config_parse.go @@ -141,6 +141,7 @@ func extraKeys(c *Config) error { // Remove HostVolume extra keys for _, hv := range c.Client.HostVolumes { removeEqualFold(&c.Client.ExtraKeysHCL, hv.Name) + removeEqualFold(&c.Client.ExtraKeysHCL, "host_volume") } for _, k := range []string{"enabled_schedulers", "start_join", "retry_join", "server_join"} {