fixed naming convensions to be camel cased. Reformatted the code.

This commit is contained in:
Pradyumna Kaushik 2016-11-28 17:18:33 -05:00 committed by Renan DelValle
parent 978d51135b
commit 6aa849bbe7
6 changed files with 147 additions and 147 deletions

View file

@ -257,7 +257,7 @@ func (s *ProactiveClusterwideCapRanked) ResouceOffers(driver sched.SchedulerDriv
}
// sorting the tasks in ascending order of watts.
s.capper.sort_tasks(&s.tasks)
s.capper.sortTasks(&s.tasks)
// displaying the ranked tasks.
log.Println("The ranked tasks are:\n---------------------\n\t[")
for rank, task := range s.tasks {