From d5e30568d7d12318af5c99339f603cdef8e6b42f Mon Sep 17 00:00:00 2001 From: unglaublicherdude Date: Fri, 1 Mar 2024 12:08:52 +0100 Subject: [PATCH] rename parameters --- golang/vaas/cmd/git-scan/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/golang/vaas/cmd/git-scan/main.go b/golang/vaas/cmd/git-scan/main.go index f001d297..b0212bfa 100644 --- a/golang/vaas/cmd/git-scan/main.go +++ b/golang/vaas/cmd/git-scan/main.go @@ -31,11 +31,11 @@ func main() { remote = "origin" } - clientID, exists := os.LookupEnv("CLIENT_ID") + clientID, exists := os.LookupEnv("VAAS_CLIENT_ID") if !exists { log.Fatal("no Client ID set") } - clientSecret, exists := os.LookupEnv("CLIENT_SECRET") + clientSecret, exists := os.LookupEnv("VAAS_CLIENT_SECRET") if !exists { log.Fatal("no Client Secret set") } @@ -43,7 +43,7 @@ func main() { if !exists { vaasUrl = "wss://gateway.production.vaas.gdatasecurity.de/" } - tokenUrl, exists := os.LookupEnv("TOKEN_URL") + tokenUrl, exists := os.LookupEnv("VAAS_TOKEN_URL") if !exists { tokenUrl = "https://account.gdata.de/realms/vaas-production/protocol/openid-connect/token" }