app/lib/actions/base.rb in foreman-tasks-5.2.3 vs app/lib/actions/base.rb in foreman-tasks-5.3.0

- old
+ new

@@ -1,8 +1,9 @@ module Actions class Base < Dynflow::Action middleware.use ::Actions::Middleware::RailsExecutorWrap include Actions::Helpers::LifecycleLogging + include Actions::TaskSynchronization execution_plan_hooks.use :notify_paused, :on => [:paused] def task @task ||= ::ForemanTasks::Task::DynflowTask.where(:external_id => execution_plan_id).first!