mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-19 09:54:09 +02:00
hotfix(env): read some settings with case sensitivity
This commit is contained in:
+2
-2
@@ -29,8 +29,8 @@ func envToFloat64(envKey string) (f float64, err error) {
|
||||
return strconv.ParseFloat(s, bits)
|
||||
}
|
||||
|
||||
func envToStringPtr(envKey string) (stringPtr *string) {
|
||||
s := env.Get(envKey)
|
||||
func envToStringPtr(envKey string, options ...env.Option) (stringPtr *string) {
|
||||
s := env.Get(envKey, options...)
|
||||
if s == "" {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user