[ARVADOS] updated: 99256e7b8649d6be2f380ef9cd1cf506e2bbe8d7

Git user git at public.curoverse.com
Tue Oct 18 10:50:59 EDT 2016


Summary of changes:
 services/crunch-dispatch-slurm/crunch-dispatch-slurm.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

       via  99256e7b8649d6be2f380ef9cd1cf506e2bbe8d7 (commit)
      from  94588fc14c200e4163144cd53bfa548a27fff7e0 (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 99256e7b8649d6be2f380ef9cd1cf506e2bbe8d7
Author: Tom Clegg <tom at curoverse.com>
Date:   Tue Oct 18 10:49:38 2016 -0400

    Fix wrong environment variable ARVADOS_API_INSECURE -> ARVADOS_API_HOST_INSECURE. No issue #

diff --git a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
index f793805..0c1ce49 100644
--- a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
+++ b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
@@ -79,9 +79,9 @@ func doMain() error {
 		// propagated to crunch-run via SLURM.
 		os.Setenv("ARVADOS_API_HOST", theConfig.Client.APIHost)
 		os.Setenv("ARVADOS_API_TOKEN", theConfig.Client.AuthToken)
-		os.Setenv("ARVADOS_API_INSECURE", "")
+		os.Setenv("ARVADOS_API_HOST_INSECURE", "")
 		if theConfig.Client.Insecure {
-			os.Setenv("ARVADOS_API_INSECURE", "1")
+			os.Setenv("ARVADOS_API_HOST_INSECURE", "1")
 		}
 		os.Setenv("ARVADOS_KEEP_SERVICES", strings.Join(theConfig.Client.KeepServiceURIs, " "))
 		os.Setenv("ARVADOS_EXTERNAL_CLIENT", "")

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list