diff --git a/src/job_manager.go b/src/job_manager.go index 1d06be5..6d65ff7 100644 --- a/src/job_manager.go +++ b/src/job_manager.go @@ -93,6 +93,7 @@ func (jm *JobManager) start() { /* return resource */ jm.allocator.returnResource(jm.resources[i]) + fmt.Println("return resource ", jm.resources[i].ClientID) } } if !flag { diff --git a/src/util.go b/src/util.go index 58d6558..eb348f5 100644 --- a/src/util.go +++ b/src/util.go @@ -99,7 +99,7 @@ type GPUStatus struct { UUID string `json:"uuid"` ProductName string `json:"product_name"` PerformanceState string `json:"performance_state"` - MemoryTotal int `json:"emory_total"` + MemoryTotal int `json:"memory_total"` MemoryFree int `json:"memory_free"` MemoryAllocated int `json:"memory_allocated"` MemoryUsed int `json:"memory_used"`