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-15 14:32:31 +08:00
parent d4c953cd8a
commit d1235d8a73

View File

@ -924,6 +924,8 @@ func (pool *ResourcePool) doAcquireResource(job Job) []NodeStatus {
//log.Info(allocation)
if allocation.Flags["valid"] {
log.Info(allocation.TasksOnNode)
for range job.Tasks { //append would cause uncertain order
ress = append(ress, NodeStatus{ClientID: "null"})
}