Skip to content
Snippets Groups Projects
Verified Commit 071fdcfb authored by Karel van Klink's avatar Karel van Klink :smiley_cat:
Browse files

Improve consistency of method name

parent f4194217
No related branches found
No related tags found
No related merge requests found
......@@ -7,8 +7,8 @@ from orchestrator.workflow import StepList, begin, done, step, workflow
from gso.services.processes import get_all_cleanup_tasks, get_created_and_completed_processes_by_id
@step("Clean up all cleanup tasks")
def remove_meta_tasks() -> None:
@step("Remove old cleanup tasks")
def remove_old_cleanup_tasks() -> None:
"""Find and remove runs of old cleanup tasks."""
cleanup_tasks = get_all_cleanup_tasks()
......@@ -27,4 +27,4 @@ def task_clean_old_tasks() -> StepList:
task. Once they have run to completion, or are stuck in a "created" state, they serve no purpose in the database and
can therefore be removed.
"""
return begin >> remove_meta_tasks >> done
return begin >> remove_old_cleanup_tasks >> done
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment