mirror of https://github.com/k3s-io/k3s
Merge pull request #57595 from CaoShuFeng/quota_queue_add
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. [quota controller] remove extra queue.Add() requeue immediately after an error may end-up with hot-loop **Release note**: ```release-note NONE ```pull/6/head
commit
c24faeddcc
|
@ -306,7 +306,6 @@ func (rq *ResourceQuotaController) syncResourceQuotaFromKey(key string) (err err
|
|||
}
|
||||
if err != nil {
|
||||
glog.Infof("Unable to retrieve resource quota %v from store: %v", key, err)
|
||||
rq.queue.Add(key)
|
||||
return err
|
||||
}
|
||||
return rq.syncResourceQuota(quota)
|
||||
|
|
Loading…
Reference in New Issue