Module: check_mk
Branch: master
Commit: 5a0694e3b8b30030e6ef72a078bc3d8c92ec1fdc
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5a0694e3b8b300…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Tue Jul 31 17:20:45 2018 +0200
Fix quicksearch crash because of wrong plugin registration method
Change-Id: I5b5fadd48812dc33f6e1e1174aa3229784a25dfa
---
cmk/gui/plugins/sidebar/quicksearch.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk/gui/plugins/sidebar/quicksearch.py
b/cmk/gui/plugins/sidebar/quicksearch.py
index 415623e..280ff8b 100644
--- a/cmk/gui/plugins/sidebar/quicksearch.py
+++ b/cmk/gui/plugins/sidebar/quicksearch.py
@@ -727,7 +727,7 @@ class MatchPluginRegistry(cmk.gui.plugin_registry.ClassRegistry):
def _register(self, obj):
- self._entries[obj.__class__.__name__] = obj
+ self._entries[obj.__name__] = obj
match_plugin_registry = MatchPluginRegistry()