app/views/foreman_tasks/api/tasks/details.json.rabl in foreman-tasks-1.1.3 vs app/views/foreman_tasks/api/tasks/details.json.rabl in foreman-tasks-1.2.0
- old
+ new
@@ -7,10 +7,9 @@
node(:execution_plan) { { state: @task.execution_plan.state, cancellable: @task.execution_plan.cancellable? } }
node(:failed_steps) { @task.input_output_failed_steps }
node(:running_steps) { @task.input_output_running_steps }
node(:help) { troubleshooting_info_text }
node(:has_sub_tasks) { @task.sub_tasks.any? }
-node(:allowDangerousActions) { Setting['dynflow_allow_dangerous_actions'] }
node(:locks) do
@task.locks.map do |lock|
{ name: lock.name, exclusive: lock.exclusive, resource_type: lock.resource_type, resource_id: lock.resource_id }
end
end