From 46c2dc6837f1b9939d20bf536ce1b710f66d831b Mon Sep 17 00:00:00 2001 From: Newnius Date: Thu, 28 May 2020 19:39:11 +0800 Subject: [PATCH] update fair --- src/resource_pool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resource_pool.go b/src/resource_pool.go index c34dc35..057ab5b 100644 --- a/src/resource_pool.go +++ b/src/resource_pool.go @@ -920,7 +920,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, " UUID=", gpu.UUID, " More Memory Allocated") node.Status[j].MemoryAllocated = 0 } if node.Status[j].MemoryAllocated == 0 {