HammerCLIForeman::Command
# File lib/hammer_cli_foreman_remote_execution/job_invocation.rb, line 97 def self.extend_data(invocation) invocation['state'] = invocation['dynflow_task'] ? invocation['dynflow_task']['state'] : _('unknown') if invocation['targeting'] && invocation['targeting']['hosts'] invocation['hosts'] = "\n" + invocation['targeting']['hosts'].map { |host| " - #{host['name']}" }.join("\n") end invocation end
Generated with the Darkfish Rdoc Generator 2.