From: Gunnar Beutner Date: Thu, 27 Jun 2013 09:25:10 +0000 (+0200) Subject: Implement validator for timeperiods. X-Git-Tag: v0.0.2~39 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b997c0838865e25acdda9863d2f53654130112b;p=icinga2 Implement validator for timeperiods. Fixes #3845 --- diff --git a/lib/icinga/icinga-type.conf b/lib/icinga/icinga-type.conf index d37da4b39..bd89463ff 100644 --- a/lib/icinga/icinga-type.conf +++ b/lib/icinga/icinga-type.conf @@ -310,6 +310,13 @@ type TimePeriod { %require "update", %attribute string "update" }, + +/* %if (methods.update == "LegacyTimePeriod") { */ +// %require "ranges", + %attribute dictionary "ranges" { + %attribute string "*" + } +/* } */ } type PerfdataWriter {