Module: check_mk
Branch: master
Commit: 28c6330fe79c973a5c756a388549561efbb9572e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=28c6330fe79c97…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Jan 20 08:53:25 2016 +0100
mkeventd: Fixed exception when saving EC config in distributed setups with "replicate
ec" activated
---
mkeventd/web/plugins/wato/mkeventd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkeventd/web/plugins/wato/mkeventd.py
b/mkeventd/web/plugins/wato/mkeventd.py
index f9a56a4..1882696 100644
--- a/mkeventd/web/plugins/wato/mkeventd.py
+++ b/mkeventd/web/plugins/wato/mkeventd.py
@@ -1602,7 +1602,7 @@ def log_mkeventd(what, message):
at_least_one = False
if is_distributed():
for site_id, site in config.sites.items():
- if site.get("replicate_ec") and not site_is_local(site_id):
+ if site.get("replicate_ec") and not config.site_is_local(site_id):
update_replication_status(site_id, { "need_sync" : True })
remove_sync_snapshot(site_id)
at_least_one = True