mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2025-03-16 21:38:23 +00:00
Merge pull request #1739 from IbirbyZh/patch-1
Fix the problem with starting the master with empty cache
This commit is contained in:
commit
1179c115c1
1 changed files with 1 additions and 0 deletions
|
@ -161,6 +161,7 @@ func newNfdController(config *restclient.Config, nfdApiControllerOptions nfdApiC
|
||||||
|
|
||||||
// Start informers
|
// Start informers
|
||||||
informerFactory.Start(c.stopChan)
|
informerFactory.Start(c.stopChan)
|
||||||
|
informerFactory.WaitForCacheSync(c.stopChan)
|
||||||
|
|
||||||
return c, nil
|
return c, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue