mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-14 11:57:51 +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
|
||||
informerFactory.Start(c.stopChan)
|
||||
informerFactory.WaitForCacheSync(c.stopChan)
|
||||
|
||||
return c, nil
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue