Skip to content

Commit

Permalink
Merge pull request #1843 from marquiz/devel/master-chan
Browse files Browse the repository at this point in the history
nfd-master: use only unbuffered chans in the nfd api-controller
  • Loading branch information
k8s-ci-robot committed Aug 19, 2024
2 parents df7f65c + bf6ffad commit 5a5b9e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/nfd-master/nfd-api-controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
}

Expand Down

0 comments on commit 5a5b9e3

Please sign in to comment.