Browse Source

normalize gpus

AjayTripathy 6 years ago
parent
commit
f04360e3ce
1 changed files with 1 additions and 1 deletions
  1. 1 1
      costmodel/costmodel.go

+ 1 - 1
costmodel/costmodel.go

@@ -2017,7 +2017,7 @@ func (cm *CostModel) costDataRange(cli prometheusClient.Client, clientset kubern
 		containers[key] = true
 	}
 
-	GPUReqMap, err := GetContainerMetricVectors(resultGPURequests, clusterID)
+	GPUReqMap, err := GetNormalizedContainerMetricVectors(resultGPURequests, normalizationValue, clusterID)
 	if err != nil {
 		return nil, err
 	}