Skip to content

Commit

Permalink
[COST-5637] Fix provider map infra calcuations for virtualization (#5391
Browse files Browse the repository at this point in the history
)
  • Loading branch information
myersCody authored Nov 21, 2024
1 parent 3fb15b9 commit 3c1fdf7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions koku/api/report/ocp/provider_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,11 +783,11 @@ def __init__(self, provider, report_type, schema_name):
"sup_markup": Sum(Value(0, output_field=DecimalField())),
"sup_total": self.cost_model_supplementary_cost,
"infra_raw": self.cloud_infrastructure_cost,
"infra_usage": self.cost_model_cost,
"infra_usage": self.cost_model_infrastructure_cost,
"infra_markup": self.markup_cost,
"infra_total": self.cloud_infrastructure_cost
+ self.markup_cost
+ self.cost_model_cpu_infrastructure_cost,
+ self.cost_model_infrastructure_cost,
"cost_raw": self.cloud_infrastructure_cost,
"cost_usage": self.cost_model_cost,
"cost_markup": self.markup_cost,
Expand All @@ -804,11 +804,11 @@ def __init__(self, provider, report_type, schema_name):
"sup_markup": Sum(Value(0, output_field=DecimalField())),
"sup_total": self.cost_model_supplementary_cost,
"infra_raw": self.cloud_infrastructure_cost,
"infra_usage": self.cost_model_cost,
"infra_usage": self.cost_model_infrastructure_cost,
"infra_markup": self.markup_cost,
"infra_total": self.cloud_infrastructure_cost
+ self.markup_cost
+ self.cost_model_cpu_infrastructure_cost,
+ self.cost_model_infrastructure_cost,
"cost_raw": self.cloud_infrastructure_cost,
"cost_usage": self.cost_model_cost,
"cost_markup": self.markup_cost,
Expand Down

0 comments on commit 3c1fdf7

Please sign in to comment.