We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbcfd8d commit 0bd8afcCopy full SHA for 0bd8afc
1 file changed
v2v-helper/vm/vmops.go
@@ -194,7 +194,7 @@ func (vmops *VMOps) GetVMInfo(ostype string) (VMInfo, error) {
194
if vmwareMachine.Spec.VMInfo.GuestNetworks != nil {
195
for _, guestNetwork := range vmwareMachine.Spec.VMInfo.GuestNetworks {
196
// Every mac should have a corresponding IP, Ignore link layer ip
197
- if guestNetwork.MAC == macAddresss && !strings.Contains(guestNetwork.IP, ":") {
+ if strings.EqualFold(guestNetwork.MAC, macAddresss) && !strings.Contains(guestNetwork.IP, ":") {
198
ips = append(ips, guestNetwork.IP)
199
}
200
0 commit comments