Browse Source

Don't set default false in boolEnvConfig

DarthSim 6 years ago
parent
commit
ab36da55f8
1 changed files with 0 additions and 1 deletions
  1. 0 1
      config.go

+ 0 - 1
config.go

@@ -36,7 +36,6 @@ func strEnvConfig(s *string, name string) {
 }
 
 func boolEnvConfig(b *bool, name string) {
-	*b = false
 	if env, err := strconv.ParseBool(os.Getenv(name)); err == nil {
 		*b = env
 	}