Module: check_mk
Branch: master
Commit: d6617c09c30f69c2b2440cf395e753e54e62def5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d6617c09c30f69…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 30 12:05:53 2018 +0200
Fixed accidental modification of global configuration setting
Change-Id: I1d02e0bdd297e7a7bcc738e6b65ee04b042a5905
---
cmk/gui/wato/__init__.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmk/gui/wato/__init__.py b/cmk/gui/wato/__init__.py
index 1402dc1..3032a82 100644
--- a/cmk/gui/wato/__init__.py
+++ b/cmk/gui/wato/__init__.py
@@ -93,6 +93,7 @@ import subprocess
import sys
import time
import traceback
+import copy
from hashlib import sha256
import cmk
@@ -4499,7 +4500,7 @@ class ModeBulkDiscovery(WatoMode):
def _get_bulk_discovery_params(self):
- self._bulk_discovery_params = config.bulk_discovery_default_settings
+ self._bulk_discovery_params =
copy.deepcopy(config.bulk_discovery_default_settings)
if self._start:
bulk_discover_params =
cmk.gui.plugins.wato.vs_bulk_discovery.from_html_vars("bulkinventory")