mirror of
https://github.com/kyverno/kyverno.git
synced 2025-04-08 18:15:48 +00:00
correct case
This commit is contained in:
parent
91030987ea
commit
4166d13684
2 changed files with 2 additions and 2 deletions
|
@ -103,7 +103,7 @@ func (c *controller) handleErr(err error, key interface{}) {
|
|||
return
|
||||
}
|
||||
// This controller retries if something goes wrong. After that, it stops trying.
|
||||
if c.queue.NumRequeues(key) < WorkQueueRetryLimit {
|
||||
if c.queue.NumRequeues(key) < workQueueRetryLimit {
|
||||
glog.Warningf("Error syncing events %v: %v", key, err)
|
||||
// Re-enqueue the key rate limited. Based on the rate limiter on the
|
||||
// queue and the re-enqueue history, the key will be processed later again.
|
||||
|
|
|
@ -6,7 +6,7 @@ const eventWorkQueueName = "policy-controller-events"
|
|||
|
||||
const eventWorkerThreadCount = 1
|
||||
|
||||
const WorkQueueRetryLimit = 1
|
||||
const workQueueRetryLimit = 1
|
||||
|
||||
//Info defines the event details
|
||||
type Info struct {
|
||||
|
|
Loading…
Add table
Reference in a new issue