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

@@ -667,7 +667,7 @@ func (s *ProxyServer) Run() error {
// This has to start after the calls to NewServiceConfig and NewEndpointsConfig because those
// functions must configure their shared informer event handlers first.
go informerFactory.Start(wait.NeverStop)
informerFactory.Start(wait.NeverStop)
// Birth Cry after the birth is successful
s.birthCry()