mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Merge pull request #33167 from guangxuli/k8s_0921_02
Automatic merge from submit-queue if item name is equal to kubernetes break the loop
This commit is contained in:
commit
0cd24992c2
@ -398,6 +398,7 @@ func TestMasterService(t *testing.T) {
|
|||||||
for i := range svcList.Items {
|
for i := range svcList.Items {
|
||||||
if svcList.Items[i].Name == "kubernetes" {
|
if svcList.Items[i].Name == "kubernetes" {
|
||||||
found = true
|
found = true
|
||||||
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if found {
|
if found {
|
||||||
|
Loading…
Reference in New Issue
Block a user