[ARVADOS] updated: 2.1.0-239-g4f2e950d9

Git user git at public.arvados.org
Wed Dec 23 21:32:09 UTC 2020


Summary of changes:
 services/login-sync/bin/arvados-login-sync | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

       via  4f2e950d93c4969a70587d654bb147e1434f7e0e (commit)
      from  bb878d5668a08845462166a301bce27476b38026 (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 4f2e950d93c4969a70587d654bb147e1434f7e0e
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Wed Dec 23 16:30:36 2020 -0500

    17224: Try something else
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/services/login-sync/bin/arvados-login-sync b/services/login-sync/bin/arvados-login-sync
index 492893e60..ef1fa55d0 100755
--- a/services/login-sync/bin/arvados-login-sync
+++ b/services/login-sync/bin/arvados-login-sync
@@ -31,9 +31,6 @@ keys = ''
 
 begin
   arv = Arvados.new({ :suppress_ssl_warnings => false })
-  make_token_arv = Arvados.new({ :api_host => ENV['LOGINCLUSTER_ARVADOS_API_HOST'] || ENV['ARVADOS_API_HOST'],
-                                 :api_token => ENV['LOGINCLUSTER_ARVADOS_API_TOKEN'] || ENV['ARVADOS_API_TOKEN'],
-                                 :suppress_ssl_warnings => false })
 
   vm_uuid = ENV['ARVADOS_VIRTUAL_MACHINE_UUID']
 
@@ -104,6 +101,10 @@ begin
   end
   Etc.endgrent()
 
+  arv = Arvados.new({ :api_host => ENV['LOGINCLUSTER_ARVADOS_API_HOST'] || ENV['ARVADOS_API_HOST'],
+                      :api_token => ENV['LOGINCLUSTER_ARVADOS_API_TOKEN'] || ENV['ARVADOS_API_TOKEN'],
+                      :suppress_ssl_warnings => false })
+
   logins.each do |l|
     next if seen[l[:username]]
     seen[l[:username]] = true

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list