⚡️ in_place option for dict_merge
Thanks for the idea, @amrsoll
This commit is contained in:
1 parent
b218cbab92
commit
e92e69b35b
5 files changed
+20
-12
No files matched your search
@@ -196,7 +196,7 @@ class SoftwareUpdatePlugin(octoprint.plugin.BlueprintPlugin,
|
||||
|
||||
if key in self._configured_checks:
|
||||
yaml_config = self._configured_checks[key]
|
||||
effective_config = dict_merge(effective_config, yaml_config)
|
||||
effective_config = dict_merge(effective_config, yaml_config, in_place=True)
|
||||
|
||||
# Make sure there's nothing persisted in that check that shouldn't be persisted
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user