lib/eco/api/session/batch/jobs.rb in eco-helpers-2.0.6 vs lib/eco/api/session/batch/jobs.rb in eco-helpers-2.0.7
- old
+ new
@@ -92,10 +92,10 @@
status[job] = job_status = job.launch(simulate: simulate)
callback = @callbacks[job]
callback.call(job, job_status) if callback
end
end
-
+ launch(simulate: simulate) if pending?
return status
end
def find_jobs(type:)
each_with_object([]) do |job, jbs|