From e435d331d198a9a182278f9cc03d3d4310853256 Mon Sep 17 00:00:00 2001 From: Jongmin Kim Date: Fri, 8 Sep 2023 16:40:37 +0900 Subject: [PATCH] fix: fix query bug --- src/spaceone/cost_analysis/service/job_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/spaceone/cost_analysis/service/job_service.py b/src/spaceone/cost_analysis/service/job_service.py index c23e9532..83d9e411 100644 --- a/src/spaceone/cost_analysis/service/job_service.py +++ b/src/spaceone/cost_analysis/service/job_service.py @@ -563,9 +563,10 @@ def _aggregate_monthly_cost_data(self, data_source_id, domain_id, job_id, job_ta 'operator': 'sum' } }, + 'start': billed_month, + 'end': billed_month, 'filter': [ {'k': 'data_source_id', 'v': data_source_id, 'o': 'eq'}, - {'k': 'billed_month', 'v': billed_month, 'o': 'eq'}, {'k': 'job_id', 'v': job_id, 'o': 'eq'}, {'k': 'job_task_id', 'v': job_task_id, 'o': 'eq'}, {'k': 'domain_id', 'v': domain_id, 'o': 'eq'},