lib/katello/tasks/pulp3_migration_abort.rake in katello-3.18.1.1 vs lib/katello/tasks/pulp3_migration_abort.rake in katello-3.18.2
- old
+ new
@@ -1,7 +1,7 @@
namespace :katello do
desc "Cancels all running Pulp 2 to 3 migration tasks."
- task :pulp3_migration_abort => ["environment", "disable_dynflow"] do
+ task :pulp3_migration_abort => ["dynflow:client"] do
migration_tasks = ForemanTasks::Task::DynflowTask.where(:label => "Actions::Pulp3::ContentMigration").where.not(:state => ["stopped", "paused"])
cancelled_tasks_count = 0
migration_tasks.each do |task|
cancelled_task = false
task.execution_plan.steps.each do |_number, step|