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 09:10:00 +08:00
parent 00d420fa05
commit bc7092766c
2 changed files with 20 additions and 16 deletions

View File

@@ -943,6 +943,7 @@ func (pool *ResourcePool) doAcquireResource(job Job) []NodeStatus {
res.ClientHost = node.ClientHost
res.NumCPU = task.NumberCPU
res.MemTotal = task.Memory
/* bug */
res.Status = available[0:task.NumberGPU]
available = available[task.NumberGPU:]