Skip to content

Commit

Permalink
rename parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
unglaublicherdude committed Mar 1, 2024
1 parent 68bf4a6 commit d5e3056
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions golang/vaas/cmd/git-scan/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ 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")
}
vaasUrl, exists := os.LookupEnv("VAAS_URL")
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"
}
Expand Down

0 comments on commit d5e3056

Please sign in to comment.