Commit 5800c32f authored by Cao Shufeng's avatar Cao Shufeng

[quota controller] remove extra queue.Add()

requeue immediately after an error may end-up with hot-loop
parent 2ec792a2
......@@ -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)
......
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