Skip to content

Commit

Permalink
Merge pull request #1259 from marquiz/release-0.13
Browse files Browse the repository at this point in the history
[release-0.13] nfd-master: fix node updates on config change
  • Loading branch information
k8s-ci-robot committed Jul 18, 2023
2 parents 1ae940a + 542eb6f commit d22e871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/nfd-master/nfd-master.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func (m *nfdMaster) Run() error {
return err
}
// Update all nodes when the configuration changes
if m.nfdController != nil {
if m.nfdController != nil && m.args.EnableNodeFeatureApi {
m.nfdController.updateAllNodesChan <- struct{}{}
}
case <-m.stop:
Expand Down

0 comments on commit d22e871

Please sign in to comment.