Revision 7f4e472cc131f5a687ec44524ff106a80cadff3f authored by Lorenz Bauer on 13 February 2024, 10:24:58 UTC, committed by Lorenz Bauer on 14 February 2024, 09:56:48 UTC
Watcher.loop will never exit if Watcher.Close is called while an event or error is being written to w.Errors or w.Events. Fix this by checking for w.stop. This allows running TestWatcher a couple thousand times without running into "too many open files". Fixes: 1cab8f375a ("certloader: Add fswatcher package") Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
1 parent b973589
.gitattributes
/install/kubernetes/cilium/values.yaml.tmpl linguist-language=yml
/install/kubernetes/cilium/values.yaml linguist-generated
/install/kubernetes/cilium/README.md linguist-generated
*.Jenkinsfile linguist-language=Groovy
go.sum linguist-generated
examples/kubernetes/connectivity-check/connectivity-*.yaml linguist-generated
pkg/k8s/apis/cilium.io/v2/client/crds/*.yaml linguist-generated
test/controlplane/**/v1.[0-9][0-9]/*.yaml linguist-generated
test/controlplane/services/graceful-termination/*.yaml linguist-generated
Documentation/cmdref/** linguist-generated
Documentation/crdlist.rst linguist-generated
Documentation/helm-values.rst linguist-generated
Documentation/codeowners.rst linguist-generated
Documentation/_static/* -diff
*svg -diff
pkg/k8s/client/clientset/** linguist-generated
pkg/k8s/client/informers/** linguist-generated
pkg/k8s/client/listers/** linguist-generated
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...