mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-15 14:14:39 +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 {
|
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)
|
||||||
|
Reference in New Issue
Block a user