Module: check_mk
Branch: master
Commit: 33ef07eb34e5f6c37a83b8ed693096f9a1c7ed19
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=33ef07eb34e5f6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Oct 29 10:09:17 2012 +0100
Fixed validate checks helper
---
doc/helpers/validate_checks | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/doc/helpers/validate_checks b/doc/helpers/validate_checks
index 1a101f2..23e488e 100755
--- a/doc/helpers/validate_checks
+++ b/doc/helpers/validate_checks
@@ -74,7 +74,7 @@ def get_perfometer_files():
return [ f for f in files if f.endswith(".py") and not
f.startswith('.') ]
def check_has_perfdata(check):
- return check_info[check]["has_perfdata"]
+ return check_info[check].get("has_perfdata", False)
def get_all_checks():
k = check_info.keys()