mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	use netutils.ParseIPSloppy
This commit is contained in:
		@@ -705,7 +705,7 @@ func CanUseIPVSProxier(ipvs utilipvs.Interface, ipsetver IPSetVersioner, schedul
 | 
				
			|||||||
	// from documentation is not unheard of, so the restriction to not use the TEST-NET-2 range
 | 
						// from documentation is not unheard of, so the restriction to not use the TEST-NET-2 range
 | 
				
			||||||
	// must be documented.
 | 
						// must be documented.
 | 
				
			||||||
	vs := utilipvs.VirtualServer{
 | 
						vs := utilipvs.VirtualServer{
 | 
				
			||||||
		Address:   net.ParseIP("198.51.100.0"),
 | 
							Address:   netutils.ParseIPSloppy("198.51.100.0"),
 | 
				
			||||||
		Protocol:  "TCP",
 | 
							Protocol:  "TCP",
 | 
				
			||||||
		Port:      20000,
 | 
							Port:      20000,
 | 
				
			||||||
		Scheduler: scheduler,
 | 
							Scheduler: scheduler,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user