Module: check_mk
Branch: master
Commit: 28a7e0a756fafcd461874174e52b8fc2ba3b4218
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=28a7e0a756fafc…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Apr 15 16:58:10 2019 +0200
Cleanup: moved all in_boolean_serviceconf_list calls to config_cache
Change-Id: Ieaec306e41cd8e01fa8aa9cc04e2a6a6f4dffd4c
---
cmk_base/config.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/cmk_base/config.py b/cmk_base/config.py
index 0ac0ee0..e37b453 100644
--- a/cmk_base/config.py
+++ b/cmk_base/config.py
@@ -1343,7 +1343,7 @@ def service_ignored(hostname, check_plugin_name, description):
return True
if description is not None \
- and in_boolean_serviceconf_list(hostname, description, ignored_services):
+ and get_config_cache().in_boolean_serviceconf_list(hostname, description,
ignored_services):
return True
return False
@@ -1561,11 +1561,6 @@ def service_extra_conf(hostname, service, ruleset):
return get_config_cache().service_extra_conf(hostname, service, ruleset)
-# Compute outcome of a service rule set that just say yes/no
-def in_boolean_serviceconf_list(hostname, descr, ruleset):
- return get_config_cache().in_boolean_serviceconf_list(hostname, descr, ruleset)
-
-
#.
# .--Host rulesets-------------------------------------------------------.
# | _ _ _ _ _ |