formatted code

This commit is contained in:
Pradyumna Kaushik 2018-02-02 17:07:23 -05:00
parent 435c4ca1bc
commit b58ffdbdd6
2 changed files with 3 additions and 3 deletions

View file

@ -60,13 +60,13 @@ type BaseScheduler struct {
// Size of window of tasks that can be scheduled in the next offer cycle.
// The window size can be adjusted to make the most use of every resource offer.
// By default, the schedulingWindow would correspond to all the remaining tasks that haven't yet been scheduled.
schedulingWindow int
schedulingWindow int
// Strategy to resize the schedulingWindow.
schedWindowResStrategy schedUtils.SchedWindowResizingStrategy
// Window of tasks that the current scheduling policy has to schedule.
// Once #schedWindow tasks are scheduled, the current scheduling policy has to stop scheduling.
curSchedWindow int
curSchedWindow int
}
func (s *BaseScheduler) init(opts ...schedPolicyOption) {