X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/57ee96926d2d3d315ece3b2cbfb20d0fe01ab912..c5be0c3abd926adc54e0c1de65e8dfdd25a84ea1:/sdk/cli/bin/arv-run-pipeline-instance diff --git a/sdk/cli/bin/arv-run-pipeline-instance b/sdk/cli/bin/arv-run-pipeline-instance index e37f2a9ff6..f20acebbd0 100755 --- a/sdk/cli/bin/arv-run-pipeline-instance +++ b/sdk/cli/bin/arv-run-pipeline-instance @@ -243,8 +243,8 @@ class PipelineInstance end def self.create(attributes) result = $client.execute(:api_method => $arvados.pipeline_instances.create, - :body => { - :pipeline_instance => attributes.to_json + :body_object => { + :pipeline_instance => attributes }, :authenticated => false, :headers => { @@ -262,8 +262,8 @@ class PipelineInstance :parameters => { :uuid => @pi[:uuid] }, - :body => { - :pipeline_instance => @attributes_to_update.to_json + :body_object => { + :pipeline_instance => @attributes_to_update }, :authenticated => false, :headers => { @@ -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',