[ARVADOS] updated: 263cd68f5ae4b114d3c1c89f84be46b0f64f9c9e

git at public.curoverse.com git at public.curoverse.com
Thu Oct 29 20:51:37 EDT 2015


Summary of changes:
 services/api/lib/create_superuser_token.rb    | 1 -
 services/api/script/create_superuser_token.rb | 4 ++--
 2 files changed, 2 insertions(+), 3 deletions(-)

       via  263cd68f5ae4b114d3c1c89f84be46b0f64f9c9e (commit)
      from  8d3305862395e930a8a40383871426cfacebeab6 (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 263cd68f5ae4b114d3c1c89f84be46b0f64f9c9e
Author: radhika <radhika at curoverse.com>
Date:   Thu Oct 29 20:50:36 2015 -0400

    7534: move the print statement of the token obtained out the library into script.

diff --git a/services/api/lib/create_superuser_token.rb b/services/api/lib/create_superuser_token.rb
index aea6dd0..54faa9a 100755
--- a/services/api/lib/create_superuser_token.rb
+++ b/services/api/lib/create_superuser_token.rb
@@ -42,7 +42,6 @@ module CreateSuperUserToken
         end
       end
 
-      puts api_client_auth.api_token
       api_client_auth.api_token
     end
   end
diff --git a/services/api/script/create_superuser_token.rb b/services/api/script/create_superuser_token.rb
index dad9501..7a2682a 100755
--- a/services/api/script/create_superuser_token.rb
+++ b/services/api/script/create_superuser_token.rb
@@ -11,5 +11,5 @@ include CreateSuperUserToken
 
 supplied_token = ARGV[0]
 
-CreateSuperUserToken.create_superuser_token supplied_token
-
+token = CreateSuperUserToken.create_superuser_token supplied_token
+puts token

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list