Skip to content

Commit

Permalink
fix: fix type of task_options
Browse files Browse the repository at this point in the history
Signed-off-by: ImMin5 <[email protected]>
  • Loading branch information
ImMin5 committed Oct 25, 2023
1 parent e979177 commit 8ff5a2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cloudforet/cost_analysis/manager/cost_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ff5a2b

Please sign in to comment.