Go fmt on the entire project
This commit is contained in:
parent
b636ff490c
commit
2678032c2c
6 changed files with 18 additions and 18 deletions
schedulers
|
@ -264,7 +264,7 @@ func (s *ProactiveClusterwideCapRanked) ResourceOffers(driver sched.SchedulerDri
|
|||
}
|
||||
|
||||
// sorting the tasks in ascending order of watts.
|
||||
if (len(s.tasks) > 0) {
|
||||
if len(s.tasks) > 0 {
|
||||
sort.Sort(def.WattsSorter(s.tasks))
|
||||
// calculating the total number of tasks ranked.
|
||||
numberOfRankedTasks := 0
|
||||
|
|
Reference in a new issue