projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94588fc
)
Fix wrong environment variable ARVADOS_API_INSECURE -> ARVADOS_API_HOST_INSECURE...
author
Tom Clegg <tom@curoverse.com>
Tue, 18 Oct 2016 14:49:38 +0000
(10:49 -0400)
committer
Tom Clegg <tom@curoverse.com>
Tue, 18 Oct 2016 14:49:38 +0000
(10:49 -0400)
services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
patch
|
blob
|
history
diff --git
a/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
b/services/crunch-dispatch-slurm/crunch-dispatch-slurm.go
index f793805a8b55f57b5adc391dce7abf7e2aeb373c..0c1ce49592a6b08223271d440dca41f3a5d8fd46 100644
(file)
--- 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", "")