Skip to content

Commit

Permalink
fix: fix parameter order when find a job
Browse files Browse the repository at this point in the history
  • Loading branch information
ImMin5 committed Dec 23, 2023
1 parent 81a7fb0 commit cad8d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spaceone/cost_analysis/service/job_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def _create_cost_data(self, cost_data, job_task_vo, cost_options):
self.cost_mgr.create_cost(cost_data, execute_rollback=False)

def _is_job_failed(self, job_id: str, workspace_id: str, domain_id: str):
job_vo: Job = self.job_mgr.get_job(job_id, workspace_id, domain_id)
job_vo: Job = self.job_mgr.get_job(job_id, domain_id, workspace_id)

if job_vo.status in ["CANCELED", "FAILURE"]:
return True
Expand Down

0 comments on commit cad8d38

Please sign in to comment.