mirror of https://github.com/k3s-io/k3s
stop vsphere cloud provider from spamming logs with `failed to patch IP`
Fixes: #75236pull/564/head
parent
58021216b1
commit
d22a39db8a
|
@ -585,7 +585,7 @@ func getLocalIP() ([]v1.NodeAddress, error) {
|
||||||
)
|
)
|
||||||
klog.V(4).Infof("Detected local IP address as %q", ipnet.IP.String())
|
klog.V(4).Infof("Detected local IP address as %q", ipnet.IP.String())
|
||||||
} else {
|
} else {
|
||||||
klog.Warningf("Failed to patch IP as MAC address %q does not belong to a VMware platform", vmMACAddr)
|
klog.V(4).Infof("Failed to patch IP for interface %q as MAC address %q does not belong to a VMware platform", i.Name, vmMACAddr)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue