mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +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
|
ip = v.IP
|
||||||
}
|
}
|
||||||
if ip.IsLoopback() || ip.IsLinkLocalUnicast() {
|
if ip.IsLoopback() || ip.IsLinkLocalUnicast() {
|
||||||
break
|
continue
|
||||||
}
|
}
|
||||||
successTest := test{
|
successTest := test{
|
||||||
nodeIP: ip.String(),
|
nodeIP: ip.String(),
|
||||||
|
Loading…
Reference in New Issue
Block a user