mirror of
https://github.com/newnius/YAO-scheduler.git
synced 2025-06-07 14:21:55 +00:00
update
This commit is contained in:
parent
6f01eef504
commit
55d535e047
@ -670,7 +670,7 @@ func (pool *ResourcePool) acquireResource(job Job) []NodeStatus {
|
|||||||
for i := range job.Tasks {
|
for i := range job.Tasks {
|
||||||
job.Tasks[i].Job = job.Name
|
job.Tasks[i].Job = job.Name
|
||||||
}
|
}
|
||||||
return pool.acquireResource(job)
|
return pool.doAcquireResource(job)
|
||||||
}
|
}
|
||||||
for {
|
for {
|
||||||
if _, ok := pool.batchAllocations[job.Name]; ok {
|
if _, ok := pool.batchAllocations[job.Name]; ok {
|
||||||
|
Loading…
Reference in New Issue
Block a user