fix claclulation

This commit is contained in:
Felix Kunde 2020-12-16 14:30:26 +01:00
parent a14542e81e
commit 66d0489f64
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ postgresqls
)
const calcCosts = this.calcCosts = (nodes, cpu, memory, disk) => {
costs = Math.max(nodes, opts.config.min_pods) * * (toCores(cpu) * opts.config.cost_core + toMemory(memory) * opts.config.cost_memory + toDisk(disk) * opts.config.cost_ebs)
costs = Math.max(nodes, opts.config.min_pods) * (toCores(cpu) * opts.config.cost_core + toMemory(memory) * opts.config.cost_memory + toDisk(disk) * opts.config.cost_ebs)
return costs.toFixed(2)
}