1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-06-07 14:21:55 +00:00
This commit is contained in:
Newnius 2020-06-10 10:18:43 +08:00
parent 846351d9b2
commit 0503752a51

View File

@ -885,8 +885,9 @@ func (pool *ResourcePool) doAcquireResource(job Job) []NodeStatus {
}
}
log.Info(tasks, factor)
allocation := InstanceOfAllocator().allocate(nodesT, tasks)
log.Info(allocation, tasks)
log.Info(allocation)
if allocation.Flags["valid"] {
for range job.Tasks { //append would cause uncertain order