Commit 0ca72d11 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #39655 from xychu/typo-in-quota-ctr

Automatic merge from submit-queue Fix typo in resource quota controller comments
parents e73e7494 4602d4fc
...@@ -46,7 +46,7 @@ type ResourceQuotaControllerOptions struct { ...@@ -46,7 +46,7 @@ type ResourceQuotaControllerOptions struct {
Registry quota.Registry Registry quota.Registry
// Knows how to build controllers that notify replenishment events // Knows how to build controllers that notify replenishment events
ControllerFactory ReplenishmentControllerFactory ControllerFactory ReplenishmentControllerFactory
// Controls full resync of objects monitored for replenihsment. // Controls full resync of objects monitored for replenishment.
ReplenishmentResyncPeriod controller.ResyncPeriodFunc ReplenishmentResyncPeriod controller.ResyncPeriodFunc
// List of GroupKind objects that should be monitored for replenishment at // List of GroupKind objects that should be monitored for replenishment at
// a faster frequency than the quota controller recalculation interval // a faster frequency than the quota controller recalculation interval
...@@ -63,7 +63,7 @@ type ResourceQuotaController struct { ...@@ -63,7 +63,7 @@ type ResourceQuotaController struct {
rqController cache.Controller rqController cache.Controller
// ResourceQuota objects that need to be synchronized // ResourceQuota objects that need to be synchronized
queue workqueue.RateLimitingInterface queue workqueue.RateLimitingInterface
// missingUsageQueue holds objects that are missing the initial usage informatino // missingUsageQueue holds objects that are missing the initial usage information
missingUsageQueue workqueue.RateLimitingInterface missingUsageQueue workqueue.RateLimitingInterface
// To allow injection of syncUsage for testing. // To allow injection of syncUsage for testing.
syncHandler func(key string) error syncHandler func(key string) error
......
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