Module: check_mk
Branch: master
Commit: bbfa5177c143b829945d53cedf274b5cd14efdb5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bbfa5177c143b8…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jun 21 09:28:21 2013 +0200
Fixed two typos in logfile messages
---
modules/notify.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/notify.py b/modules/notify.py
index 1ba3024..b68c0cb 100644
--- a/modules/notify.py
+++ b/modules/notify.py
@@ -519,7 +519,7 @@ def should_notify(context, entry):
if entry.get("only_hosts"):
hostname = context.get("HOSTNAME")
if hostname not in entry["only_hosts"]:
- notify_log(" - Skipping: host '%s' matches non of %s" %
(hostname, ", ".join(entry["only_hosts"])))
+ notify_log(" - Skipping: host '%s' matches none of %s" %
(hostname, ", ".join(entry["only_hosts"])))
return False
# Check if the host has to be in a special service_level
@@ -554,7 +554,7 @@ def should_notify(context, entry):
skip = negate
break
if skip:
- notify_log(" - Skipping: service '%s' matches non of
%s" % (
+ notify_log(" - Skipping: service '%s' matches none of
%s" % (
servicedesc, ", ".join(entry["only_services"])))
return False