Do not generate unnecessary goroutine

This commit is contained in:
Shintaro Murakami
2019-04-23 16:22:14 +09:00
parent 40f691a416
commit f8e81337da
5 changed files with 5 additions and 5 deletions

View File

@@ -127,7 +127,7 @@ func setupQuotaController(t *testing.T, kubeClient kubernetes.Interface, lister
t.Fatal(err)
}
stop := make(chan struct{})
go informerFactory.Start(stop)
informerFactory.Start(stop)
return quotaController{qc, stop}
}