mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
format incorrectAddresses in klog
This commit is contained in:
parent
ededd08ba1
commit
9ad39c9eda
@ -293,7 +293,7 @@ func NewProxier(ipt utiliptables.Interface,
|
||||
var incorrectAddresses []string
|
||||
nodePortAddresses, incorrectAddresses = utilproxy.FilterIncorrectCIDRVersion(nodePortAddresses, isIPv6)
|
||||
if len(incorrectAddresses) > 0 {
|
||||
klog.Warning("NodePortAddresses of wrong family; ", incorrectAddresses)
|
||||
klog.Warningf("NodePortAddresses of wrong family; %s", incorrectAddresses)
|
||||
}
|
||||
proxier := &Proxier{
|
||||
portsMap: make(map[utilproxy.LocalPort]utilproxy.Closeable),
|
||||
|
@ -448,7 +448,7 @@ func NewProxier(ipt utiliptables.Interface,
|
||||
var incorrectAddresses []string
|
||||
nodePortAddresses, incorrectAddresses = utilproxy.FilterIncorrectCIDRVersion(nodePortAddresses, isIPv6)
|
||||
if len(incorrectAddresses) > 0 {
|
||||
klog.Warning("NodePortAddresses of wrong family; ", incorrectAddresses)
|
||||
klog.Warningf("NodePortAddresses of wrong family; %s", incorrectAddresses)
|
||||
}
|
||||
proxier := &Proxier{
|
||||
portsMap: make(map[utilproxy.LocalPort]utilproxy.Closeable),
|
||||
|
Loading…
Reference in New Issue
Block a user