From 31200fe5ea127cd5ea89a49703275d9bdd91e8a2 Mon Sep 17 00:00:00 2001 From: Luke Couzens Date: Fri, 2 Feb 2024 09:18:02 +0000 Subject: [PATCH] Update provider_map.py (#4890) --- koku/api/report/ocp/provider_map.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koku/api/report/ocp/provider_map.py b/koku/api/report/ocp/provider_map.py index ad5b3251f5..03e85eb6c3 100644 --- a/koku/api/report/ocp/provider_map.py +++ b/koku/api/report/ocp/provider_map.py @@ -165,7 +165,7 @@ def __init__(self, provider, report_type, schema_name): "tag_column": "pod_labels", # default for if a report type does not have a tag_column "report_type": { "costs": { - "tag_column": "pod_labels", + "tag_column": "all_labels", "tables": {"query": OCPUsageLineItemDailySummary}, "aggregates": { "sup_raw": Sum(Value(0, output_field=DecimalField())), @@ -215,7 +215,7 @@ def __init__(self, provider, report_type, schema_name): "sum_columns": ["cost_total", "infra_total", "sup_total"], }, "costs_by_project": { - "tag_column": "pod_labels", + "tag_column": "all_labels", "tables": {"query": OCPUsageLineItemDailySummary}, "aggregates": { "sup_raw": Sum(Value(0, output_field=DecimalField())),