Skip to content
Snippets Groups Projects
Commit 5b645b2f authored by Erick Hitter's avatar Erick Hitter
Browse files

Fix typo

parent e27d16ab
No related branches found
No related tags found
Loading
......@@ -235,7 +235,7 @@ func main() {
}
func readEnv() EnvValues {
var gitlabAPIBaseUrl, gitlabPAToken, configDir, redisURL, redisPassword string
var gitlabAPIBaseUrl, gitlabAPIToken, configDir, redisURL, redisPassword string
useSentinel := false
if envGitlabAPIBaseUrl := os.Getenv("GITLAB_API_BASE_URL"); envGitlabAPIBaseUrl == "https://gitlab.com/api/v4" {
......@@ -246,7 +246,7 @@ func readEnv() EnvValues {
if envGitlabAPIToken := os.Getenv("GITLAB_API_TOKEN"); envGitlabAPIToken == "" {
panic("Could not find GITLAB_API_TOKEN specified as an environment variable")
} else {
gitlabPAToken = envGitlabAPIToken
gitlabAPIToken = envGitlabAPIToken
}
if envConfigDir := os.Getenv("CONFIG_DIR"); envConfigDir == "" {
panic("Could not find CONFIG_DIR specified as an environment variable")
......@@ -276,7 +276,7 @@ func readEnv() EnvValues {
RedisURL: redisURL,
RedisPassword: redisPassword,
ConfDir: configDir,
GitlabAPIKey: gitlabPAToken,
GitlabAPIKey: gitlabAPIToken,
GitlabAPIBaseUrl: gitlabAPIBaseUrl,
UseSentinel: useSentinel,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment