mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #91499 from lo24/intf-fix
fix a regression that TestValidateNodeIPParam never actually works
This commit is contained in:
commit
dcdeed97cd
@ -2151,7 +2151,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