Skip to content

Commit

Permalink
Merge pull request #1739 from IbirbyZh/patch-1
Browse files Browse the repository at this point in the history
Fix the problem with starting the master with empty cache
  • Loading branch information
k8s-ci-robot committed Jun 10, 2024
2 parents 4628ea8 + 2f9801b commit 1179c11
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/nfd-master/nfd-api-controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ func newNfdController(config *restclient.Config, nfdApiControllerOptions nfdApiC

// Start informers
informerFactory.Start(c.stopChan)
informerFactory.WaitForCacheSync(c.stopChan)

return c, nil
}
Expand Down

0 comments on commit 1179c11

Please sign in to comment.