Module: check_mk
Branch: master
Commit: e45b46ed297a3c9bea1f264b981a569275a3125d
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e45b46ed297a3c…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Nov 14 12:11:27 2012 +0100
Fixed pre-activation sync
---
web/plugins/wato/userdb.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/web/plugins/wato/userdb.py b/web/plugins/wato/userdb.py
index 9258f63..72fea7a 100644
--- a/web/plugins/wato/userdb.py
+++ b/web/plugins/wato/userdb.py
@@ -26,5 +26,5 @@
import userdb
-api.register_hook('pre-activate-changes', userdb.hook_sync)
+api.register_hook('pre-activate-changes', lambda hosts: userdb.hook_sync())
api.register_hook('snapshot-pushed', userdb.hook_sync)