From 38adeee7c78c4758dc8a4a5048f95caa30339052 Mon Sep 17 00:00:00 2001 From: Jongmin Kim Date: Wed, 11 Oct 2023 11:05:01 +0900 Subject: [PATCH] fix: fix wrong usage unit --- src/spaceone/cost_analysis/manager/cost_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spaceone/cost_analysis/manager/cost_manager.py b/src/spaceone/cost_analysis/manager/cost_manager.py index a256c72..c28f57d 100644 --- a/src/spaceone/cost_analysis/manager/cost_manager.py +++ b/src/spaceone/cost_analysis/manager/cost_manager.py @@ -142,7 +142,7 @@ class CostSummaryItem(BaseModel): data['usage_unit'] = 'Count' data['additional_info']['Usage Type Details'] = 'HTTPS Requests' elif usage_type.find('-Out-Bytes') > 0: - data['usage_unit'] = 'Bytes' + data['usage_unit'] = 'GB' data['additional_info']['Usage Type Details'] = 'Transfer Out' else: data['usage_unit'] = 'Count'