[ARVADOS] updated: 3d2a90bcc1c96a8f3b920038aba264069307a609
git at public.curoverse.com
git at public.curoverse.com
Mon Jul 7 16:24:07 EDT 2014
Summary of changes:
sdk/cli/bin/arv-run-pipeline-instance | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
via 3d2a90bcc1c96a8f3b920038aba264069307a609 (commit)
from 0b8289d0b2aa1a951af23600a24b6cbb67512598 (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 3d2a90bcc1c96a8f3b920038aba264069307a609
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Mon Jul 7 16:24:04 2014 -0400
Google API client jsonifies the body, so we don't have to.
diff --git a/sdk/cli/bin/arv-run-pipeline-instance b/sdk/cli/bin/arv-run-pipeline-instance
index 30db8d7..fecee0b 100755
--- a/sdk/cli/bin/arv-run-pipeline-instance
+++ b/sdk/cli/bin/arv-run-pipeline-instance
@@ -325,12 +325,7 @@ class JobCache
def self.create(pipeline, component, job, create_params)
@cache ||= {}
- jsonified_create_params = {}
- create_params.each do |k, v|
- jsonified_create_params[k] = v.to_json unless v.nil?
- end
-
- body = { :job => job }.merge(jsonified_create_params)
+ body = { :job => job }.merge(create_params.select { |k,v| not v.nil? })
result = $client.execute(:api_method => $arvados.jobs.create,
:body => body,
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list