mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
fix TestValidateNodeIPParam: break was being used instead of continue
This commit is contained in:
parent
f097cee156
commit
cda593e822
@ -1902,7 +1902,7 @@ func TestValidateNodeIPParam(t *testing.T) {
|
||||
ip = v.IP
|
||||
}
|
||||
if ip.IsLoopback() || ip.IsLinkLocalUnicast() {
|
||||
break
|
||||
continue
|
||||
}
|
||||
successTest := test{
|
||||
nodeIP: ip.String(),
|
||||
|
Loading…
Reference in New Issue
Block a user