diff --git a/src/spaceone/cost_analysis/service/data_source_account_service.py b/src/spaceone/cost_analysis/service/data_source_account_service.py index 011645f7..5f28cb3a 100644 --- a/src/spaceone/cost_analysis/service/data_source_account_service.py +++ b/src/spaceone/cost_analysis/service/data_source_account_service.py @@ -78,10 +78,7 @@ def update( ) ) - if ( - params.workspace_id - and params.workspace_id != data_source_account_vo.workspace_id - ): + if params.workspace_id != data_source_account_vo.workspace_id: self.data_source_mgr.update_data_source_account_and_connected_workspace_count_by_vo( data_source_vo )