Unverified Commit c24faedd authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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 ```
parents ff626a35 5800c32f
...@@ -306,7 +306,6 @@ func (rq *ResourceQuotaController) syncResourceQuotaFromKey(key string) (err err ...@@ -306,7 +306,6 @@ func (rq *ResourceQuotaController) syncResourceQuotaFromKey(key string) (err err
} }
if err != nil { if err != nil {
glog.Infof("Unable to retrieve resource quota %v from store: %v", key, err) glog.Infof("Unable to retrieve resource quota %v from store: %v", key, err)
rq.queue.Add(key)
return err return err
} }
return rq.syncResourceQuota(quota) return rq.syncResourceQuota(quota)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment