[ARVADOS] updated: 14f130e6be39b3f9a0ff8f2e82f0799ed894f38c

git at public.curoverse.com git at public.curoverse.com
Mon Aug 25 11:39:58 EDT 2014


Summary of changes:
 services/api/script/crunch-dispatch.rb | 2 ++
 1 file changed, 2 insertions(+)

       via  14f130e6be39b3f9a0ff8f2e82f0799ed894f38c (commit)
      from  dac7b05f1c32143069d20378a895171e978033cc (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 14f130e6be39b3f9a0ff8f2e82f0799ed894f38c
Author: Ward Vandewege <ward at curoverse.com>
Date:   Mon Aug 25 11:39:05 2014 -0400

    Do not blow up in crunch-dispatch.rb: do not pass --jobs and --pipelines
    arguments to Rails.
    
    no issue #

diff --git a/services/api/script/crunch-dispatch.rb b/services/api/script/crunch-dispatch.rb
index 33f5369..bb7ce7e 100755
--- a/services/api/script/crunch-dispatch.rb
+++ b/services/api/script/crunch-dispatch.rb
@@ -17,6 +17,8 @@ if not ($options[:jobs] or $options[:pipelines])
   abort "Nothing to do. Please specify at least one of: --jobs, --pipelines."
 end
 
+ARGV.reject! { |a| a =~ /--jobs|--pipelines/ }
+
 $warned = {}
 $signal = {}
 %w{TERM INT}.each do |sig|

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list