Skip to content

Commit dcdeed9

Browse files
authored
Merge pull request kubernetes#91499 from lo24/intf-fix
fix a regression that TestValidateNodeIPParam never actually works
2 parents 9fb34ed + cda593e commit dcdeed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/kubelet_node_status_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2151,7 +2151,7 @@ func TestValidateNodeIPParam(t *testing.T) {
21512151
ip = v.IP
21522152
}
21532153
if ip.IsLoopback() || ip.IsLinkLocalUnicast() {
2154-
break
2154+
continue
21552155
}
21562156
successTest := test{
21572157
nodeIP: ip.String(),

0 commit comments

Comments
 (0)