mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 13:45:06 +00:00
[quota controller] remove extra queue.Add()
requeue immediately after an error may end-up with hot-loop
This commit is contained in:
@@ -308,7 +308,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)
|
||||
|
Reference in New Issue
Block a user