Reconfigure Environment configuration loader as well
This commit is contained in:
@@ -123,7 +123,7 @@ func Enviro() Loader {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return enviroTypeName, Configuration{
|
return enviroTypeName, r(Configuration{
|
||||||
HostName: cfg.HostName,
|
HostName: cfg.HostName,
|
||||||
SharedKey: cfg.SharedKey,
|
SharedKey: cfg.SharedKey,
|
||||||
DialTimeout: time.Duration(cfg.DialTimeout) * time.Second,
|
DialTimeout: time.Duration(cfg.DialTimeout) * time.Second,
|
||||||
@@ -133,6 +133,6 @@ func Enviro() Loader {
|
|||||||
Servers: []Server{cfgSer.build()},
|
Servers: []Server{cfgSer.build()},
|
||||||
Presets: presets,
|
Presets: presets,
|
||||||
OnlyAllowPresetRemotes: cfg.OnlyAllowPresetRemotes,
|
OnlyAllowPresetRemotes: cfg.OnlyAllowPresetRemotes,
|
||||||
}, nil
|
}), nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user