clientconfig: Fix parsing multiple host volumes
This commit is contained in:
parent
c8556daf37
commit
9df7e0eb72
|
@ -141,6 +141,7 @@ func extraKeys(c *Config) error {
|
||||||
// Remove HostVolume extra keys
|
// Remove HostVolume extra keys
|
||||||
for _, hv := range c.Client.HostVolumes {
|
for _, hv := range c.Client.HostVolumes {
|
||||||
removeEqualFold(&c.Client.ExtraKeysHCL, hv.Name)
|
removeEqualFold(&c.Client.ExtraKeysHCL, hv.Name)
|
||||||
|
removeEqualFold(&c.Client.ExtraKeysHCL, "host_volume")
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, k := range []string{"enabled_schedulers", "start_join", "retry_join", "server_join"} {
|
for _, k := range []string{"enabled_schedulers", "start_join", "retry_join", "server_join"} {
|
||||||
|
|
Loading…
Reference in New Issue