Skip to content

Commit

Permalink
[COST-5029] - Override start date for OCP infra mapping (#5108)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcouzens authored May 15, 2024
1 parent f5e18ee commit cbef59d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from django_tenants.utils import schema_context

from api.common import log_json
from api.utils import DateHelper
from koku.pg_partition import PartitionHandlerMixin
from masu.database.ocp_report_db_accessor import OCPReportDBAccessor
from masu.processor.ocp.ocp_cloud_updater_base import OCPCloudUpdaterBase
Expand Down Expand Up @@ -167,7 +168,8 @@ def update_summary_tables(self, start_date, end_date, **kwargs):
return start_date, end_date

def check_cluster_infrastructure(self, start_date, end_date):

# Override start date so we map with a more complete dataset
start_date = DateHelper().month_start(start_date)
LOG.info(
log_json(
msg="checking if OCP cluster is running on cloud infrastructure",
Expand Down

0 comments on commit cbef59d

Please sign in to comment.