mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-12-15 16:16:44 +00:00
update
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user