mirror of
https://github.com/Luzifer/cloudbox.git
synced 2024-11-08 06:00:12 +00:00
Enable configuration through ENV
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
74a496e44a
commit
302834bb01
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ var (
|
|||
)
|
||||
|
||||
func init() {
|
||||
rconfig.AutoEnv(true)
|
||||
if err := rconfig.ParseAndValidate(&cfg); err != nil {
|
||||
log.Fatalf("Unable to parse commandline options: %s", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue