Merge pull request #91450 from gaurav1086/kube_proxy_test_fix_goroutine_leak
kube-proxy-test: fix goroutine leak
This commit is contained in:
@@ -498,7 +498,7 @@ udpIdleTimeout: 250ms`)
|
|||||||
}
|
}
|
||||||
opt.proxyServer = tc.proxyServer
|
opt.proxyServer = tc.proxyServer
|
||||||
|
|
||||||
errCh := make(chan error)
|
errCh := make(chan error, 1)
|
||||||
go func() {
|
go func() {
|
||||||
errCh <- opt.runLoop()
|
errCh <- opt.runLoop()
|
||||||
}()
|
}()
|
||||||
|
Reference in New Issue
Block a user