app/views/foreman_tasks/api/tasks/show.json.rabl in foreman-tasks-0.17.3 vs app/views/foreman_tasks/api/tasks/show.json.rabl in foreman-tasks-0.17.4
- old
+ new
@@ -1,6 +1,6 @@
object @task if @task
attributes :id, :label, :pending, :action
attributes :username, :started_at, :ended_at, :state, :result, :progress
attributes :input, :output, :humanized, :cli_example
-node(:available_actions) { |t| {cancellable: t.execution_plan&.cancellable?, resumable: t.resumable? }}
+node(:available_actions) { |t| { cancellable: t.execution_plan&.cancellable?, resumable: t.resumable? } }