From: Peter Amstutz Date: Fri, 21 Mar 2014 19:30:42 +0000 (-0400) Subject: Fixed syntax error typo. We need tests for crunch-dispatcher.rb! X-Git-Tag: 1.1.0~2690^2~19^2~21 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/c19e37b1452cc7c8234f05f2b0f2ce3ae2f0dff6 Fixed syntax error typo. We need tests for crunch-dispatcher.rb! --- diff --git a/services/api/script/crunch-dispatch.rb b/services/api/script/crunch-dispatch.rb index 9eb1c28cb2..6df9a19d29 100755 --- a/services/api/script/crunch-dispatch.rb +++ b/services/api/script/crunch-dispatch.rb @@ -310,7 +310,7 @@ class Dispatcher jobrecord = Job.find_by_uuid(job_done.uuid) jobrecord.running = false - jobrecord.finished_at ||= Time.now, + jobrecord.finished_at ||= Time.now # Don't set 'jobrecord.success = false' because if the job failed to run due to an # issue with crunch-job or slurm, we want the job to stay in the queue. jobrecord.save!