[ARVADOS] updated: e2f2a9dd7d533fb3863926825628ca6171fef716

Git user git at public.curoverse.com
Fri Feb 24 11:42:18 EST 2017


Summary of changes:
 services/api/lib/crunch_dispatch.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  e2f2a9dd7d533fb3863926825628ca6171fef716 (commit)
      from  25af6c40181b95f13ec3e9e366c53cb50868d065 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit e2f2a9dd7d533fb3863926825628ca6171fef716
Author: radhika <radhika at curoverse.com>
Date:   Fri Feb 24 00:52:18 2017 -0500

    10979: ruby way of doing it

diff --git a/services/api/lib/crunch_dispatch.rb b/services/api/lib/crunch_dispatch.rb
index cf19cc4..21843de 100644
--- a/services/api/lib/crunch_dispatch.rb
+++ b/services/api/lib/crunch_dispatch.rb
@@ -963,11 +963,11 @@ class CrunchDispatch
   # An array of job_uuids in squeue
   def squeue_jobs
     if Rails.configuration.crunch_job_wrapper == :slurm_immediate
-      squeue = File.popen(['squeue', '-a', '-h', '-o', '%j']).readlines.map do |line|
+      File.popen(['squeue', '-a', '-h', '-o', '%j']).readlines.map do |line|
         line.strip
       end
     else
-      squeue = []
+      []
     end
   end
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list