Merge branch 'master' into 2051-nondeterministic-jobs
[arvados.git] / services / api / script / crunch-dispatch.rb
index c4a7bd6a7603af1f44dfeec78fd4c4e1b680fa37..b6e0f67796b8a9a2022643f2565ee621bd2b4c25 100755 (executable)
@@ -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!