mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #95787 from qingsenLi/k8s201022-format
format incorrectAddresses in klog
This commit is contained in:
commit
0451848d64
@ -297,7 +297,7 @@ func NewProxier(ipt utiliptables.Interface,
|
||||
var incorrectAddresses []string
|
||||
nodePortAddresses, incorrectAddresses = utilproxy.FilterIncorrectCIDRVersion(nodePortAddresses, ipFamily)
|
||||
if len(incorrectAddresses) > 0 {
|
||||
klog.Warning("NodePortAddresses of wrong family; ", incorrectAddresses)
|
||||
klog.Warningf("NodePortAddresses of wrong family; %s", incorrectAddresses)
|
||||
}
|
||||
|
||||
proxier := &Proxier{
|
||||
|
@ -453,7 +453,7 @@ func NewProxier(ipt utiliptables.Interface,
|
||||
var incorrectAddresses []string
|
||||
nodePortAddresses, incorrectAddresses = utilproxy.FilterIncorrectCIDRVersion(nodePortAddresses, ipFamily)
|
||||
if len(incorrectAddresses) > 0 {
|
||||
klog.Warning("NodePortAddresses of wrong family; ", incorrectAddresses)
|
||||
klog.Warningf("NodePortAddresses of wrong family; %s", incorrectAddresses)
|
||||
}
|
||||
proxier := &Proxier{
|
||||
ipFamily: ipFamily,
|
||||
|
Loading…
Reference in New Issue
Block a user