Fix flag to disable login (#119)

This commit is contained in:
Luke Lambert
2021-11-12 14:17:18 -06:00
committed by GitHub
parent d1507726a4
commit abc0f74551
2 changed files with 2 additions and 1 deletions

View File

@@ -380,7 +380,7 @@ func LookupEnvOrBool(key string, defaultVal bool) bool {
if val, ok := os.LookupEnv(key); ok {
v, err := strconv.ParseBool(val)
if err != nil {
fmt.Fprintf(os.Stderr, "LookupEnvOrInt[%s]: %v\n", key, err)
fmt.Fprintf(os.Stderr, "LookupEnvOrBool[%s]: %v\n", key, err)
}
return v
}