Merge pull request #91499 from lo24/intf-fix

fix a regression that TestValidateNodeIPParam never actually works
This commit is contained in:
Kubernetes Prow Robot 2020-06-30 02:52:05 -07:00 committed by GitHub
commit dcdeed97cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(),