[ARVADOS] updated: 708b630be8dc82b3b1b1e246719eb61688efef0f
git at public.curoverse.com
git at public.curoverse.com
Thu Jul 31 15:31:25 EDT 2014
Summary of changes:
sdk/cli/bin/arv-run-pipeline-instance | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
via 708b630be8dc82b3b1b1e246719eb61688efef0f (commit)
from c75a4bb16b2ae143023a001ddb92ce175c813c11 (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 708b630be8dc82b3b1b1e246719eb61688efef0f
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date: Thu Jul 31 15:31:23 2014 -0400
Use :body_object instead of :body
diff --git a/sdk/cli/bin/arv-run-pipeline-instance b/sdk/cli/bin/arv-run-pipeline-instance
index 389ce9c..ab3702c 100755
--- a/sdk/cli/bin/arv-run-pipeline-instance
+++ b/sdk/cli/bin/arv-run-pipeline-instance
@@ -243,7 +243,7 @@ class PipelineInstance
end
def self.create(attributes)
result = $client.execute(:api_method => $arvados.pipeline_instances.create,
- :body => {
+ :body_object => {
:pipeline_instance => attributes.to_json
},
:authenticated => false,
@@ -262,7 +262,7 @@ class PipelineInstance
:parameters => {
:uuid => @pi[:uuid]
},
- :body => {
+ :body_object => {
:pipeline_instance => @attributes_to_update.to_json
},
:authenticated => false,
@@ -328,7 +328,7 @@ class JobCache
body = {job: no_nil_values(job)}.merge(no_nil_values(create_params))
result = $client.execute(:api_method => $arvados.jobs.create,
- :body => body,
+ :body_object => body,
:authenticated => false,
:headers => {
authorization: 'OAuth2 '+ENV['ARVADOS_API_TOKEN']
@@ -346,7 +346,7 @@ class JobCache
msg += "Job submission was: #{body.to_json}"
$client.execute(:api_method => $arvados.logs.create,
- :body => {
+ :body_object => {
:log => {
:object_uuid => pipeline[:uuid],
:event_type => 'stderr',
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list