[checkmk-commits] Fixed site deletion after refactoring

Lars Michelsen lm at mathias-kettner.de
Thu Nov 22 11:10:36 CET 2018


Module: check_mk
Branch: master
Commit: 44207a8eefc503a05ce30186afb1bc89f478d8b1
URL:    http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=44207a8eefc503a05ce30186afb1bc89f478d8b1

Author: Lars Michelsen <lm at mathias-kettner.de>
Date:   Thu Nov 22 11:01:22 2018 +0100

Fixed site deletion after refactoring

Change-Id: I9a38212e70f5bedfebafb3e0ee43efe8e11ca4d5

---

 cmk/gui/watolib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmk/gui/watolib.py b/cmk/gui/watolib.py
index da5ef92..f92aa20 100644
--- a/cmk/gui/watolib.py
+++ b/cmk/gui/watolib.py
@@ -8997,7 +8997,7 @@ def find_usages_of_contact_group(name):
     global_config = load_configuration_settings()
 
     # Used in default_user_profile?
-    config_variable = config_variable_registry['default_user_profile']
+    config_variable = config_variable_registry['default_user_profile']()
     domain = config_variable.domain()
     configured = global_config.get('default_user_profile', {})
     default_value = domain().default_globals()["default_user_profile"]



More information about the checkmk-commits mailing list