Merge pull request #91450 from gaurav1086/kube_proxy_test_fix_goroutine_leak

kube-proxy-test: fix goroutine leak
This commit is contained in:
Kubernetes Prow Robot 2020-12-08 16:28:08 -08:00 committed by GitHub
commit 9c35c491f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -498,7 +498,7 @@ udpIdleTimeout: 250ms`)
}
opt.proxyServer = tc.proxyServer
errCh := make(chan error)
errCh := make(chan error, 1)
go func() {
errCh <- opt.runLoop()
}()