1
0
Fork 0

Possible fix for #18

This commit is contained in:
マリウス 2023-06-15 10:25:50 -05:00
parent 6a1a27b4e4
commit c9458a05da
No known key found for this signature in database
1 changed files with 2 additions and 1 deletions

View File

@ -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)