Merge pull request #3104 from Poor12/clean-up-unused-value
Clean up unused variable
This commit is contained in:
commit
8d924efc23
|
@ -537,7 +537,6 @@ func setupControllers(mgr controllerruntime.Manager, opts *options.Options, stop
|
|||
ResourceInterpreter: resourceInterpreter,
|
||||
EventRecorder: mgr.GetEventRecorderFor("resource-detector"),
|
||||
ConcurrentResourceTemplateSyncs: opts.ConcurrentResourceTemplateSyncs,
|
||||
ConcurrentResourceBindingSyncs: opts.ConcurrentResourceBindingSyncs,
|
||||
RateLimiterOptions: opts.RateLimiterOpts,
|
||||
}
|
||||
if err := mgr.Add(resourceDetector); err != nil {
|
||||
|
|
|
@ -78,9 +78,6 @@ type ResourceDetector struct {
|
|||
// ConcurrentResourceTemplateSyncs is the number of resource templates that are allowed to sync concurrently.
|
||||
// Larger number means responsive resource template syncing but more CPU(and network) load.
|
||||
ConcurrentResourceTemplateSyncs int
|
||||
// ConcurrentResourceBindingSyncs is the number of ResourceBinding that are allowed to sync concurrently.
|
||||
// Larger number means responsive resource template syncing but more CPU(and network) load.
|
||||
ConcurrentResourceBindingSyncs int
|
||||
|
||||
// RateLimiterOptions is the configuration for rate limiter which may significantly influence the performance of
|
||||
// the controller.
|
||||
|
|
Loading…
Reference in New Issue