use klog.InfoS instead of klog.V(0).Infof(kubemark part)

This commit is contained in:
JunYang 2022-09-22 14:52:33 +08:00
parent 0fff024276
commit a6899eb1da

View File

@ -82,7 +82,7 @@ func NewHollowProxyOrDie(
if useRealProxier {
nodeIP := utilnode.GetNodeIP(client, nodeName)
if nodeIP == nil {
klog.V(0).Infof("can't determine this node's IP, assuming 127.0.0.1")
klog.InfoS("can't determine this node's IP, assuming 127.0.0.1")
nodeIP = netutils.ParseIPSloppy("127.0.0.1")
}
// Real proxier with fake iptables, sysctl, etc underneath it.