mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-10 04:30:20 +02:00
fix(settings): use qdm12/gosettings env.Get
This commit is contained in:
+2
-1
@@ -6,6 +6,7 @@ import (
|
||||
"strconv"
|
||||
|
||||
"github.com/qdm12/gluetun/internal/configuration/settings"
|
||||
"github.com/qdm12/gosettings/sources/env"
|
||||
)
|
||||
|
||||
var (
|
||||
@@ -25,7 +26,7 @@ func (s *Source) readSystem() (system settings.System, err error) {
|
||||
return system, err
|
||||
}
|
||||
|
||||
system.Timezone = getCleanedEnv("TZ")
|
||||
system.Timezone = env.Get("TZ")
|
||||
|
||||
return system, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user