Alexander Belanger 4 роки тому
батько
коміт
10207e1e36
1 змінених файлів з 2 додано та 0 видалено
  1. 2 0
      internal/usage/usage.go

+ 2 - 0
internal/usage/usage.go

@@ -147,6 +147,8 @@ func getResourceUsage(opts *GetUsageOpts, clusters []*models.Cluster) (uint, uin
 			// return 0, 0, fmt.Errorf("failed to get alloc: %s", err.Error())
 		}
 
+		fmt.Println("TOT ALLOC IS", totAlloc, totAlloc.CPU, totAlloc.Memory, totCPU, totMem)
+
 		totCPU += totAlloc.CPU
 		totMem += totAlloc.Memory
 	}