groob / moroz

Moroz is a Santa server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

global config not reloading when new rules are added

groob opened this issue · comments

Here we try to load a config by MachineID and if that fails, we use a cached global config

config = svc.global

changing that line to config, _ = svc.repo.Config("global") would be a sufficient fix for now.

In the future we can look at fsnotify to reload configs.