Merge pull request #33167 from guangxuli/k8s_0921_02

Automatic merge from submit-queue

if item name is equal to kubernetes break the loop
pull/6/head
Kubernetes Submit Queue 2016-09-23 06:05:42 -07:00 committed by GitHub
commit 0cd24992c2
1 changed files with 1 additions and 0 deletions

View File

@ -398,6 +398,7 @@ func TestMasterService(t *testing.T) {
for i := range svcList.Items {
if svcList.Items[i].Name == "kubernetes" {
found = true
break
}
}
if found {