mirror of
https://github.com/kyverno/kyverno.git
synced 2025-03-31 03:45:17 +00:00
CR fixes
This commit is contained in:
parent
3c3931b67b
commit
09cd524625
2 changed files with 2 additions and 2 deletions
|
@ -395,7 +395,7 @@ func (pc *PolicyController) Run(workers int, stopCh <-chan struct{}) {
|
|||
defer glog.Info("Shutting down policy controller")
|
||||
|
||||
if !cache.WaitForCacheSync(stopCh, pc.pListerSynced, pc.pvListerSynced, pc.nspvListerSynced) {
|
||||
glog.Info("failed to sync informer cache")
|
||||
glog.Error("failed to sync informer cache")
|
||||
return
|
||||
}
|
||||
for i := 0; i < workers; i++ {
|
||||
|
|
|
@ -143,7 +143,7 @@ func (gen *Generator) Run(workers int, stopCh <-chan struct{}) {
|
|||
defer glog.Info("Shutting down policy violation generator")
|
||||
|
||||
if !cache.WaitForCacheSync(stopCh, gen.pvSynced, gen.nspvSynced) {
|
||||
glog.Error("event generator: failed to sync informer cache")
|
||||
glog.Error("policy violation generator: failed to sync informer cache")
|
||||
}
|
||||
|
||||
for i := 0; i < workers; i++ {
|
||||
|
|
Loading…
Add table
Reference in a new issue