app/lib/actions/base.rb in foreman-tasks-0.14.3 vs app/lib/actions/base.rb in foreman-tasks-0.14.4
- old
+ new
@@ -25,25 +25,17 @@
self.class.name.demodulize.underscore.humanize
end
# This method should return String or Array<String> describing input for the task
def humanized_input
- if task_input.blank?
- ''
- else
- task_input.pretty_inspect
- end
+ ''
end
# This method should return String describing output for the task.
# It should aggregate the data from subactions as well and it's used for humanized
# description of restuls of the action
def humanized_output
- if task_output.blank?
- ''
- else
- task_output.pretty_inspect
- end
+ ''
end
# This method should return String or Array<String> describing the errors during the action
def humanized_errors
execution_plan.steps_in_state(:skipped, :skipping, :error).map do |step|