Merge pull request #118232 from luckymrwang/style

style: correct the sentence
This commit is contained in:
Kubernetes Prow Robot 2023-06-30 01:51:59 -07:00 committed by GitHub
commit 52b1247b28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,7 @@ func (a *HorizontalController) processNextWorkItem(ctx context.Context) bool {
// happens quite often because there is race condition between adding request after resyncPeriod
// and removing them from queue. Request can be added by resync before previous request is
// removed from queue. If we didn't add request here then in this case one request would be dropped
// and HPA would processed after 2 x resyncPeriod.
// and HPA would process after 2 x resyncPeriod.
if !deleted {
a.queue.AddRateLimited(key)
}