1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-14 20:56:42 +00:00

Merge pull request #1843 from marquiz/devel/master-chan

nfd-master: use only unbuffered chans in the nfd api-controller
This commit is contained in:
Kubernetes Prow Robot 2024-08-19 07:23:12 -07:00 committed by GitHub
commit 5a5b9e3c19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -61,9 +61,9 @@ func init() {
func newNfdController(config *restclient.Config, nfdApiControllerOptions nfdApiControllerOptions) (*nfdController, error) {
c := &nfdController{
stopChan: make(chan struct{}),
updateAllNodesChan: make(chan struct{}, 1),
updateAllNodesChan: make(chan struct{}),
updateOneNodeChan: make(chan string),
updateAllNodeFeatureGroupsChan: make(chan struct{}, 1),
updateAllNodeFeatureGroupsChan: make(chan struct{}),
updateNodeFeatureGroupChan: make(chan string),
}