app/controllers/naf/log_viewer_controller.rb in naf-2.1.9 vs app/controllers/naf/log_viewer_controller.rb in naf-2.1.10

- old
+ new

@@ -4,12 +4,9 @@ def index if params['record_type'] == 'job' @job = ::Naf::HistoricalJob.find_by_id(params['record_id'].to_i) @status = ::Logical::Naf::Job.new(@job).status @partial = 'job_logs' - elsif params['record_type'] == 'machine' - @machine = ::Naf::Machine.find_by_id(params['record_id'].to_i) - @partial = 'machine_logs' elsif params['record_type'] == 'runner' @runner = ::Naf::MachineRunner.find_by_id(params['record_id'].to_i) @partial = 'runner_logs' end end