[ARVADOS] updated: cbb6e930023aeffdd03332894c85bc156316c72f

git at public.curoverse.com git at public.curoverse.com
Tue Nov 4 12:31:32 EST 2014


Summary of changes:
 sdk/cli/bin/arv | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  cbb6e930023aeffdd03332894c85bc156316c72f (commit)
      from  d65b1921a9aeffd6906b95aa927a07a48f013b32 (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 cbb6e930023aeffdd03332894c85bc156316c72f
Author: Brett Smith <brett at curoverse.com>
Date:   Tue Nov 4 12:31:00 2014 -0500

    4412: arv edit consistently uses :body_object in API requests.
    
    Fixes #4412.

diff --git a/sdk/cli/bin/arv b/sdk/cli/bin/arv
index 3489f8e..8c7e6f1 100755
--- a/sdk/cli/bin/arv
+++ b/sdk/cli/bin/arv
@@ -302,7 +302,7 @@ def arv_edit client, arvados, global_opts, remaining_opts
       begin
         result = client.execute(:api_method => eval(api_method),
                                 :parameters => {"uuid" => uuid},
-                                :body => { rsc.singularize => dumped },
+                                :body_object => { rsc.singularize => dumped },
                                 :authenticated => false,
                                 :headers => {
                                   authorization: 'OAuth2 '+ENV['ARVADOS_API_TOKEN']
@@ -673,7 +673,7 @@ when
 else
   result = client.execute(:api_method => eval(api_method),
                           :parameters => request_parameters,
-                          :body => request_body,
+                          :body_object => request_body,
                           :authenticated => false,
                           :headers => {
                             authorization: 'OAuth2 '+ENV['ARVADOS_API_TOKEN']

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list