Merged in scheduleOnlySchedWindowTasks (pull request #6)
ScheduleOnlySchedWindowTasks Approved-by: Akash Kothawale <akothaw1@binghamton.edu>
This commit is contained in:
parent
3d51efc679
commit
85383da550
10 changed files with 103 additions and 112 deletions
|
@ -132,3 +132,8 @@ func LaunchTasks(offerIDs []*mesos.OfferID, tasksToLaunch []*mesos.TaskInfo, dri
|
|||
utilities.ResourceAvailabilityUpdate("ON_TASK_ACTIVE_STATE", *task.TaskId, *task.SlaveId)
|
||||
}
|
||||
}
|
||||
|
||||
// Sort N tasks in the TaskQueue
|
||||
func SortNTasks(tasks []def.Task, n int, sb def.SortBy) {
|
||||
def.SortTasks(tasks[:n], sb)
|
||||
}
|
||||
|
|
Reference in a new issue