mirror of
https://github.com/mrusme/neonmodem.git
synced 2024-09-29 04:45:55 -04:00
Possible fix for #18
This commit is contained in:
parent
6a1a27b4e4
commit
c9458a05da
@ -88,7 +88,8 @@ func load() {
|
||||
func loadSystems(c *ctx.Ctx) []error {
|
||||
var errs []error
|
||||
|
||||
for _, sysCfg := range c.Config.Systems {
|
||||
for i := 0; i < len(c.Config.Systems); i++ {
|
||||
sysCfg := c.Config.Systems[i]
|
||||
c.Logger.Debugf("loading system of type %s ...", sysCfg.Type)
|
||||
sysCfg.Config["proxy"] = CFG.Proxy
|
||||
sys, err := system.New(sysCfg.Type, &sysCfg.Config, LOG)
|
||||
|
Loading…
Reference in New Issue
Block a user