Module: check_mk
Branch: master
Commit: fb92086e2d6b1b6910d98bbe39705edb8b52c2bb
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fb92086e2d6b1b…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Jul 3 12:12:02 2017 +0200
Update for WK4840. Fixed unknown function name
Change-Id: I9ec38a813c93ece8d3978c56d552ea47a02c7c27
---
cmk_base/core.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk_base/core.py b/cmk_base/core.py
index 52d158d..ce23ed1 100644
--- a/cmk_base/core.py
+++ b/cmk_base/core.py
@@ -212,7 +212,7 @@ def check_timeperiod(timeperiod):
# None : unable to connect to livestatus or timeperiod is unknown
def timeperiod_active(timeperiod):
try:
- update_inactive_timeperiods()
+ update_timeperiods_cache()
return config_cache.get_dict("timeperiods_cache").get(timeperiod)
except: # socket.error / MKTimeout / ?
if cmk.debug.enabled():