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 ```
This commit is contained in:
		@@ -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)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user