From c19e37b1452cc7c8234f05f2b0f2ce3ae2f0dff6 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Fri, 21 Mar 2014 15:30:42 -0400 Subject: [PATCH] Fixed syntax error typo. We need tests for crunch-dispatcher.rb! --- services/api/script/crunch-dispatch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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! -- 2.39.5