app/lib/actions/base.rb in foreman-tasks-0.6.9 vs app/lib/actions/base.rb in foreman-tasks-0.6.10

- old
+ new

@@ -1,7 +1,11 @@ module Actions class Base < Dynflow::Action + def task + @task ||= ::ForemanTasks::Task::DynflowTask.find_by_external_id!(execution_plan_id) + end + # This method says what data form input gets into the task details in Rest API # By default, it sends the whole input there. def task_input self.input end