Commit 0cd24992 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #33167 from guangxuli/k8s_0921_02

Automatic merge from submit-queue if item name is equal to kubernetes break the loop
parents 0829f39b 1c60b7cd
...@@ -398,6 +398,7 @@ func TestMasterService(t *testing.T) { ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment