From af7044839345cf11a914ff6c39687b0bcfd79f53 Mon Sep 17 00:00:00 2001 From: Jongmin Kim Date: Thu, 17 Oct 2024 00:50:24 +0900 Subject: [PATCH] fix: fix bug query when syncing costs Signed-off-by: Jongmin Kim --- src/spaceone/cost_analysis/service/job_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spaceone/cost_analysis/service/job_service.py b/src/spaceone/cost_analysis/service/job_service.py index e608b28..60af13a 100644 --- a/src/spaceone/cost_analysis/service/job_service.py +++ b/src/spaceone/cost_analysis/service/job_service.py @@ -820,7 +820,7 @@ def _delete_changed_cost_data( {"k": "billed_month", "v": start, "o": "gte"}, {"k": "data_source_id", "v": job_vo.data_source_id, "o": "eq"}, {"k": "domain_id", "v": job_vo.domain_id, "o": "eq"}, - {"k": "job_id", "v": job_id, "o": "not"}, + {"k": "job_id", "v": job_id, "o": "eq"}, ], "hint": "COMPOUND_INDEX_FOR_SYNC_JOB_2", }