Skip to content

Commit fa40295

Browse files
committed
Changed vsphere CPMS to not include fields controlled by failure domains.
1 parent adb699e commit fa40295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/asset/machines/vsphere/machines.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ func Machines(clusterID string, config *types.InstallConfig, pool *types.Machine
148148

149149
// when multiple zones are defined, network and workspace are derived from the topology
150150
origProv := vsphereMachineProvider.DeepCopy()
151-
if len(failureDomains) > 1 {
151+
if len(failureDomains) >= 1 {
152152
vsphereMachineProvider.Network = machineapi.NetworkSpec{}
153153
vsphereMachineProvider.Workspace = &machineapi.Workspace{}
154154
vsphereMachineProvider.Template = ""

0 commit comments

Comments
 (0)