🐛 SWU: Fix issue with check config persistence from plugins
If we want to be able to in-place overlay the effective config, we MUST do a deepcopy of the default or we'll actually operate on the default, effectively leading to any changes to plugin check configs to be cleaned up from the config file. Closes #3765 Closes #3767
This commit is contained in:
1 parent
b96f7657e6
commit
e7d037d3d4
1 file changed
+1
-1
@@ -222,7 +222,7 @@ class SoftwareUpdatePlugin(
|
||||
check_providers[key] = name
|
||||
|
||||
yaml_config = {}
|
||||
effective_config = default_config
|
||||
effective_config = copy.deepcopy(default_config)
|
||||
|
||||
if key in overlays:
|
||||
effective_config = dict_merge(
|
||||
|
||||
Reference in new issue
Block a user