Skip to content

Commit

Permalink
add additional info to INSERT operation (#5227)
Browse files Browse the repository at this point in the history
  • Loading branch information
maskarb authored Jul 19, 2024
1 parent c93cf97 commit 7aad9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion koku/masu/database/ocp_report_db_accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ def populate_distributed_cost_sql(self, start_date, end_date, provider_uuid, dis
sql = pkgutil.get_data("masu.database", f"sql/openshift/cost_model/distribute_cost/{sql_file}")
sql = sql.decode("utf-8")
LOG.info(log_json(msg=log_msg, context=sql_params))
self._prepare_and_execute_raw_sql_query(table_name, sql, sql_params, operation="INSERT")
self._prepare_and_execute_raw_sql_query(table_name, sql, sql_params, operation=f"INSERT: {log_msg}")

def populate_monthly_cost_sql(self, cost_type, rate_type, rate, start_date, end_date, distribution, provider_uuid):
"""
Expand Down

0 comments on commit 7aad9f8

Please sign in to comment.