fixed naming convensions to be camel cased. Reformatted the code.
This commit is contained in:
parent
55ea017a9a
commit
50d1d79051
6 changed files with 147 additions and 147 deletions
|
@ -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 {
|
||||
|
|
Reference in a new issue