[ARVADOS] updated: 9f88440df10de6d3d2c2d8b50a802663fec9d0b7

git at public.curoverse.com git at public.curoverse.com
Fri Aug 21 15:53:11 EDT 2015


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

       via  9f88440df10de6d3d2c2d8b50a802663fec9d0b7 (commit)
      from  1cecdfb6fabf47c921e7f422063368621619dcfb (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 9f88440df10de6d3d2c2d8b50a802663fec9d0b7
Author: Brett Smith <brett at curoverse.com>
Date:   Fri Aug 21 15:51:37 2015 -0400

    arv-tag respects more valid ARVADOS_API_HOST_INSECURE values.
    
    This makes it more consistent with other tools, including `arv`
    itself.  No issue #.

diff --git a/sdk/cli/bin/arv-tag b/sdk/cli/bin/arv-tag
index 5196d03..816c1e9 100755
--- a/sdk/cli/bin/arv-tag
+++ b/sdk/cli/bin/arv-tag
@@ -101,7 +101,8 @@ $arvados_api_host = ENV['ARVADOS_API_HOST'] or
   abort "#{$0}: fatal: ARVADOS_API_HOST environment variable not set."
 $arvados_api_token = ENV['ARVADOS_API_TOKEN'] or
   abort "#{$0}: fatal: ARVADOS_API_TOKEN environment variable not set."
-$arvados_api_host_insecure = ENV['ARVADOS_API_HOST_INSECURE'] == 'yes'
+$arvados_api_host_insecure = %w(1 true yes).
+  include?((ENV['ARVADOS_API_HOST_INSECURE'] || "").downcase)
 
 begin
   require 'rubygems'

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list