From be3ce6995bfbdcc2184ab10a61b67af1b165f73c Mon Sep 17 00:00:00 2001 From: ImMin5 Date: Tue, 22 Oct 2024 12:01:16 +0900 Subject: [PATCH] fix: fix delete unified cost error Signed-off-by: ImMin5 --- src/spaceone/cost_analysis/service/unified_cost_service.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/spaceone/cost_analysis/service/unified_cost_service.py b/src/spaceone/cost_analysis/service/unified_cost_service.py index ffb7286..0fa6f92 100644 --- a/src/spaceone/cost_analysis/service/unified_cost_service.py +++ b/src/spaceone/cost_analysis/service/unified_cost_service.py @@ -522,10 +522,6 @@ def _delete_old_unified_costs( {"key": "created_at", "value": created_at, "operator": "lt"}, ], } - if not is_confirmed: - query_filter["filter"].append( - {"key": "is_confirmed", "value": is_confirmed, "operator": "eq"} - ) _LOGGER.debug( f"[delete_old_unified_costs] delete query filter conditions: {query_filter}"