Skip to content

Commit a148db0

Browse files
authored
Merge pull request vmware-tanzu#60 from bryanv/bryanv/network-provider-vcsim-test-ctx
Convert network provider tests to vcsim test context
2 parents 36142e4 + 41592f5 commit a148db0

File tree

4 files changed

+171
-216
lines changed

4 files changed

+171
-216
lines changed

pkg/vmprovider/providers/vsphere/network/network_provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func (l InterfaceInfoList) GetNetplan(
122122

123123
// NetOp (VDS) never assigns MacAddress to the NetworkInterface status, therefore
124124
// netplanEthernet.Match.MacAddress will be empty.
125-
// At this point, it is assumed that VirtuaLMachine.Config.Hardware.Device has MacAddress generated.
125+
// At this point, it is assumed that VirtualMachine.Config.Hardware.Device has MacAddress generated.
126126
netplanEthernet.Match.MacAddress = NormalizeNetplanMac(curNic.GetVirtualEthernetCard().MacAddress)
127127
}
128128

0 commit comments

Comments
 (0)