Browse Source

Code cleanup

Kaelan Patel 4 years ago
parent
commit
672431c68d
1 changed files with 1 additions and 2 deletions
  1. 1 2
      pkg/costmodel/allocation.go

+ 1 - 2
pkg/costmodel/allocation.go

@@ -986,8 +986,7 @@ func applyGPUUsageAvg(podMap map[podKey]*Pod, resGPUUsageAvg []*prom.QueryResult
 			pod.AppendContainer(container)
 		}
 
-		log.Infof("COMPUTEALLOCATION TESTING: GPU AVERAGE FOR POD CONTAINER %s: %f", container, res.Values[0].Value)
-		pod.Allocations[container].GPUUsageAverage = res.Values[0].Value * 0.1
+		pod.Allocations[container].GPUUsageAverage = res.Values[0].Value * 0.01
 	}
 }