constellation-node-operator: use typed rate-limiter

The untyped rate-limiter was deprecated in favor of a generic one that can just be instantiated to `any` to achieve the previous behaviour.
This commit is contained in:
Moritz Sanft 2024-10-16 08:45:45 +02:00
parent 705a6895fb
commit d97bc86dec
No known key found for this signature in database
GPG Key ID: 335D28368B1DA615

View File

@ -205,7 +205,7 @@ func (c *Config) applyDefaults() {
c.PollingFrequency = defaultPollingFrequency
}
if c.RateLimiter == nil {
c.RateLimiter = workqueue.DefaultControllerRateLimiter()
c.RateLimiter = workqueue.DefaultTypedControllerRateLimiter[any]()
}
}