Skip to content

Commit cda593e

Browse files
committed
fix TestValidateNodeIPParam: break was being used instead of continue
1 parent f097cee commit cda593e

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
@@ -1902,7 +1902,7 @@ func TestValidateNodeIPParam(t *testing.T) {
19021902
ip = v.IP
19031903
}
19041904
if ip.IsLoopback() || ip.IsLinkLocalUnicast() {
1905-
break
1905+
continue
19061906
}
19071907
successTest := test{
19081908
nodeIP: ip.String(),

0 commit comments

Comments
 (0)