Skip to content

Commit e7a75f1

Browse files
Merge pull request #405 from jinyoungmoonDEV/test
fix: fix CostReport update to expired method parameter error
2 parents 9ba80ca + 9b9e88c commit e7a75f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/spaceone/cost_analysis/service/cost_report_serivce.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ def create_cost_report(self, params: dict):
294294
reports = self._build_cost_reports_from_costs(
295295
status, config_vo, unified_costs, metadata
296296
)
297+
297298
self._persist_cost_reports_by_status(
298299
reports,
299300
report_month,
@@ -308,9 +309,9 @@ def _get_all_cost_report_configs(self) -> QuerySet:
308309

309310
def _change_status_to_expired(
310311
self,
311-
report_month: str,
312312
domain_id: str,
313313
cost_report_config_id: str,
314+
report_month: str,
314315
):
315316
cost_report_update_query = {
316317
"filter": [

0 commit comments

Comments
 (0)