]> granicus.if.org Git - icinga2/commitdiff
Fix ITL methods templates for timeperiods
authorMichael Friedrich <michael.friedrich@netways.de>
Mon, 15 Aug 2016 14:16:23 +0000 (16:16 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Mon, 15 Aug 2016 14:16:23 +0000 (16:16 +0200)
fixes #12338

lib/methods/methods-itl.conf

index 1ec2eeaebefe3d02b4ff9f0a9ffc72ba5a9c57f7..fea8322b5d2057de410e5263f8cfa9246df4afbd 100644 (file)
@@ -65,11 +65,11 @@ System.assert(Internal.run_with_activation_context(function() {
        }
 
        template TimePeriod "empty-timeperiod" use (_Internal) {
-               execute = _Internal.EmptyTimePeriod
+               update = _Internal.EmptyTimePeriod
        }
 
        template TimePeriod "even-minutes-timeperiod" use (_Internal) {
-               execute = _Internal.EvenMinutesTimePeriod
+               update = _Internal.EvenMinutesTimePeriod
        }
 }))