Module: check_mk
Branch: master
Commit: 3772ceea0fbf6915da030a80a91784ee8a1f838b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3772ceea0fbf69…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Fri Mar 23 11:55:39 2018 +0100
update for WK5796: incorret parameter naming
Change-Id: I0c379172c24d5056558c604200b7d70d7ae1b2f3
---
cmk_base/item_state.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cmk_base/item_state.py b/cmk_base/item_state.py
index 3e224d0..e5ad95e 100644
--- a/cmk_base/item_state.py
+++ b/cmk_base/item_state.py
@@ -161,7 +161,7 @@ class CachedItemStates(object):
def set_item_state_prefix(self, args):
- self._item_prefix = args
+ self._item_state_prefix = args
def get_item_state(self, user_key, default=None):
@@ -174,7 +174,7 @@ class CachedItemStates(object):
def get_unique_item_state_key(self, user_key):
- return self._item_prefix + (user_key,)
+ return self._item_state_prefix + (user_key,)
_cached_item_states = CachedItemStates()