1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 16:16:44 +00:00
This commit is contained in:
2020-06-11 10:02:02 +08:00
parent c6c7166475
commit a1102e61db
4 changed files with 10 additions and 6 deletions

View File

@@ -965,7 +965,7 @@ func (pool *ResourcePool) doAcquireResource(job Job) []NodeStatus {
}
for i := range job.Tasks {
if job.Tasks[i].Name == task.Name {
if job.Tasks[i].ID == task.ID {
ress[i] = res
}
}