lib/remote_run/runner.rb in remote_run-0.1.8 vs lib/remote_run/runner.rb in remote_run-0.1.9
- old
+ new
@@ -130,10 +130,10 @@
@children.each do |task|
child_pid = task.pid
if task_is_finished?(child_pid)
@results << $?.exitstatus
if @results.last.to_s != "0"
- log("Below tasks failed on #{task.host}\n#{task.command}", :red)
+ log("Below tasks failed on #{task.host.hostname}\n#{task.command}", :red)
end
@children.delete(task)
end
end
end