icingaweb2/modules/monitoring/library/Monitoring/Command/Renderer
Michael Friedrich 2c312adf94 API Commands: Only send acknowledgement expire time if not null
Icinga 2 v2.7.0 is more strict with the `expiry` attribute if sent
(cannot be null, or in the past).

While acknowledgments with expire time worked well (and do so with this patch),
the command renderer did not check whether the value is actually not null
before setting it into the data form. The boolean value from the checkbox is
not available in the command renderer unfortunately.

@lippserd: Verified working with and without expire time inside the Vagrant boxes.

fixes #2911
2017-08-08 12:53:39 +02:00
..
IcingaApiCommandRenderer.php API Commands: Only send acknowledgement expire time if not null 2017-08-08 12:53:39 +02:00
IcingaCommandFileCommandRenderer.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00
IcingaCommandRendererInterface.php Change all license headers to only reflect a file's year of creation 2016-02-08 15:41:00 +01:00