Merge pull request #112671 from yangjunmyfm192085/delklogv0

use klog.InfoS instead of klog.V(0).Infof(kubemark part)
This commit is contained in:
Kubernetes Prow Robot 2022-09-22 00:55:02 -07:00 committed by GitHub
commit 7f129f1c9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,7 +82,7 @@ func NewHollowProxyOrDie(
if useRealProxier { if useRealProxier {
nodeIP := utilnode.GetNodeIP(client, nodeName) nodeIP := utilnode.GetNodeIP(client, nodeName)
if nodeIP == nil { 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") nodeIP = netutils.ParseIPSloppy("127.0.0.1")
} }
// Real proxier with fake iptables, sysctl, etc underneath it. // Real proxier with fake iptables, sysctl, etc underneath it.