|
|
@@ -246,10 +246,10 @@ func buildGPUCostMap(
|
|
|
clusterAndNameToType[keyNon] = nodeType
|
|
|
|
|
|
// If gpu count is available use it to multiply gpu cost
|
|
|
- if value, ok := gpuCountMap[key]; ok && value != 0 {
|
|
|
+ if value, ok := gpuCountMap[key]; ok {
|
|
|
gpuCostMap[key] = gpuCost * value
|
|
|
} else {
|
|
|
- gpuCostMap[key] = gpuCost
|
|
|
+ gpuCostMap[key] = 0
|
|
|
}
|
|
|
|
|
|
}
|