X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/21006cfaf6d4d0ac3884a72803a8723bc4bb76fb..b85cb1ba40385444f9494bbb88248ab65d700c85:/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() {