Module: check_mk
Branch: master
Commit: cbb2909d1d408235f8d74e46d51b95b66a4ee9e7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cbb2909d1d4082…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jul 25 14:14:28 2016 +0200
Fix for recent pending log entry change
---
web/htdocs/watolib.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/web/htdocs/watolib.py b/web/htdocs/watolib.py
index eb5435d..049f1b7 100644
--- a/web/htdocs/watolib.py
+++ b/web/htdocs/watolib.py
@@ -227,7 +227,7 @@ def log_pending(status, linkinfo, what, message, user_id = None):
need_to_bake_agents()
# Only add pending log entries when a restart is needed
- if has_wato_slave_sites() or status in [ RESTART, SYNCRESTART, LOCALRESTART ]:
+ if has_wato_slave_sites() or status != SYNC:
log_entry(linkinfo, what, message, "pending.log", user_id)
# Currently we add the pending to each site, regardless if