Commit 4602d4fc authored by Ethan Chu's avatar Ethan Chu

Fix typo in resource quota controller comment

parent 8ef69025
...@@ -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