1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-15 08:16:43 +00:00

update fair

This commit is contained in:
2020-05-28 11:23:27 +08:00
parent d16df29b50
commit c044d43490
3 changed files with 10 additions and 7 deletions

View File

@@ -908,7 +908,7 @@ func (pool *ResourcePool) releaseResource(job Job, agent NodeStatus) {
node.Status[j].MemoryAllocated -= gpu.MemoryTotal
if node.Status[j].MemoryAllocated < 0 {
// in case of error
log.Warn(node.ClientID, "More Memory Allocated")
log.Warn(node.ClientID, " More Memory Allocated")
node.Status[j].MemoryAllocated = 0
}
if node.Status[j].MemoryAllocated == 0 {