1
0
Fork 0
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:
Kubernetes Prow Robot 2024-06-10 11:42:26 -07:00 committed by GitHub
commit 1179c115c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -161,6 +161,7 @@ func newNfdController(config *restclient.Config, nfdApiControllerOptions nfdApiC
// Start informers
informerFactory.Start(c.stopChan)
informerFactory.WaitForCacheSync(c.stopChan)
return c, nil
}