projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dac7b05
)
Do not blow up in crunch-dispatch.rb: do not pass --jobs and --pipelines
author
Ward Vandewege <ward@curoverse.com>
Mon, 25 Aug 2014 15:39:05 +0000
(11:39 -0400)
committer
Ward Vandewege <ward@curoverse.com>
Mon, 25 Aug 2014 15:39:05 +0000
(11:39 -0400)
arguments to Rails.
no issue #
services/api/script/crunch-dispatch.rb
patch
|
blob
|
history
diff --git
a/services/api/script/crunch-dispatch.rb
b/services/api/script/crunch-dispatch.rb
index 33f53692bceee9505a5c303fd7c90bdff5f04f54..bb7ce7e12dee7efe70ceeff06d506c1c18b23392 100755
(executable)
--- 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|