Small refactoring in engine, task handler and workflow utils
* Renaming methods in task_handler * Deleted unused method in workflow/utils.py * Made signature of on_task_state_change more consistent with other methods * Other minor things Change-Id: Iaa83d3cdbd1836366401cb5558f194181b421511
This commit is contained in:
@@ -106,7 +106,7 @@ class WorkflowController(object):
|
||||
# Add all tasks in IDLE state.
|
||||
idle_tasks = wf_utils.find_tasks_with_state(self.wf_ex, states.IDLE)
|
||||
|
||||
return [commands.RunExistentTask(t) for t in idle_tasks]
|
||||
return [commands.RunExistingTask(t) for t in idle_tasks]
|
||||
|
||||
def _is_paused_or_completed(self):
|
||||
return states.is_paused_or_completed(self.wf_ex.state)
|
||||
|
||||
Reference in New Issue
Block a user