Skip to content

Commit f4d82af

Browse files
committed
Fix regression where net status not added
This patch fixes a regression where the network status was not added to the machine, and therefore the machine was never in the ready state.
1 parent bb1f36c commit f4d82af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/cloud/vsphere/services/govmomi/update.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ func reconcileNetwork(ctx *context.MachineContext, vm *object.VirtualMachine) er
107107
if expNetCount != actNetCount {
108108
return errors.Errorf("invalid network count for %q: exp=%d act=%d", ctx, expNetCount, actNetCount)
109109
}
110+
ctx.MachineStatus.Network = allNetStatus
110111

111112
// Update the MAC addresses in the machine's network config as well. This
112113
// is required in order to generate the metadata.

0 commit comments

Comments
 (0)