1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-12 23:36:44 +00:00
This commit is contained in:
2020-05-03 23:34:55 +08:00
parent 259409c77b
commit 53bb900854

View File

@@ -522,8 +522,8 @@ func (scheduler *SchedulerFair) AcquireResource(job Job, task Task, nodes []Node
log.Info("allocatingGPU is ", scheduler.allocatingGPU) log.Info("allocatingGPU is ", scheduler.allocatingGPU)
} }
for i := range locks { for _, lock := range locks {
locks[i].Unlock() lock.Unlock()
} }
go func(res NodeStatus) { go func(res NodeStatus) {