mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-05 08:17:04 +00:00
Merge pull request #1259 from marquiz/release-0.13
[release-0.13] nfd-master: fix node updates on config change
This commit is contained in:
commit
d22e871d40
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue