app/models/logical/naf/job_fetcher.rb in naf-2.0.4 vs app/models/logical/naf/job_fetcher.rb in naf-2.1.0
- old
+ new
@@ -115,9 +115,10 @@
historical_job = ::Naf::HistoricalJob.find_by_sql([sql, machine.id, possible_job.id]).first
if historical_job.present?
::Naf::QueuedJob.delete(historical_job.id)
running_job = ::Naf::RunningJob.new(application_id: historical_job.application_id,
+ application_schedule_id: historical_job.application_schedule_id,
application_type_id: historical_job.application_type_id,
command: historical_job.command,
application_run_group_restriction_id: historical_job.application_run_group_restriction_id,
application_run_group_name: historical_job.application_run_group_name,
application_run_group_limit: historical_job.application_run_group_limit,