X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6e76e3322d66f609dabcd34c98cba34bd739e089..8b3478bda6764b3f30aef69ec0a93729495296c0:/services/keep-web/main.go diff --git a/services/keep-web/main.go b/services/keep-web/main.go index 751543e8fa..135f01b394 100644 --- a/services/keep-web/main.go +++ b/services/keep-web/main.go @@ -12,7 +12,9 @@ func init() { // different token before doing anything with the client). We // set this dummy value during init so it doesn't clobber the // one used by "run test servers". - os.Setenv("ARVADOS_API_TOKEN", "xxx") + if os.Getenv("ARVADOS_API_TOKEN") == "" { + os.Setenv("ARVADOS_API_TOKEN", "xxx") + } } func main() {