From 8ff5a2bb9f50066e63270c9c25d3e4fc80e56b2f Mon Sep 17 00:00:00 2001 From: ImMin5 Date: Thu, 26 Oct 2023 03:27:27 +0900 Subject: [PATCH] fix: fix type of task_options Signed-off-by: ImMin5 --- src/cloudforet/cost_analysis/manager/cost_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cloudforet/cost_analysis/manager/cost_manager.py b/src/cloudforet/cost_analysis/manager/cost_manager.py index a58c33a..159f0b7 100644 --- a/src/cloudforet/cost_analysis/manager/cost_manager.py +++ b/src/cloudforet/cost_analysis/manager/cost_manager.py @@ -182,7 +182,7 @@ def _get_tenant_ids(task_options, collect_scope): if 'tenant_id' in task_options: tenant_ids.append(task_options['tenant_id']) elif collect_scope == 'customer_tenant_id': - tenant_ids.append(task_options['customer_tenants']) + tenant_ids.extend(task_options['customer_tenants']) else: tenant_ids.append('EA Agreement') return tenant_ids