mirror of
https://github.com/kemko/nomad.git
synced 2026-01-11 12:55:42 +03:00
Merge pull request #6183 from hashicorp/dani/fix-multiparse
clientconfig: Fix parsing multiple host volumes
This commit is contained in:
@@ -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"} {
|
||||
|
||||
Reference in New Issue
Block a user