Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelawyu committed Jun 27, 2023
1 parent 42645b6 commit 3c718d4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pkg/scheduler/framework/framework.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,12 +156,13 @@ func NewFramework(profile *Profile, manager ctrl.Manager, opts ...Option) Framew
// Also note that an indexer might need to be set up for improved performance.

return &framework{
profile: profile,
client: manager.GetClient(),
uncachedReader: manager.GetAPIReader(),
manager: manager,
eventRecorder: manager.GetEventRecorderFor(fmt.Sprintf(eventRecorderNameTemplate, profile.Name())),
parallelizer: parallelizer.NewParallelizer(options.numOfWorkers),
profile: profile,
client: manager.GetClient(),
uncachedReader: manager.GetAPIReader(),
manager: manager,
eventRecorder: manager.GetEventRecorderFor(fmt.Sprintf(eventRecorderNameTemplate, profile.Name())),
parallelizer: parallelizer.NewParallelizer(options.numOfWorkers),
maxClusterDecisionCount: options.maxClusterDecisionCount,
}
}

Expand Down

0 comments on commit 3c718d4

Please sign in to comment.