Merge pull request #3104 from Poor12/clean-up-unused-value

Clean up unused variable
This commit is contained in:
karmada-bot 2023-02-03 11:25:22 +08:00 committed by GitHub
commit 8d924efc23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 4 deletions

View File

@ -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 {

View File

@ -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.