mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	format incorrectAddresses in klog
This commit is contained in:
		@@ -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),
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user