From d516a050acbfac2e33af3324f970bf8468d8ca0d Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 3 Dec 2015 17:56:27 +0100 Subject: [PATCH] IcingaEndpoint: render log duration as integer --- library/Director/Objects/IcingaEndpoint.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/Director/Objects/IcingaEndpoint.php b/library/Director/Objects/IcingaEndpoint.php index 244be1ef..0c9b7d29 100644 --- a/library/Director/Objects/IcingaEndpoint.php +++ b/library/Director/Objects/IcingaEndpoint.php @@ -21,4 +21,9 @@ class IcingaEndpoint extends IcingaObject protected $relations = array( 'zone' => 'IcingaZone', ); + + protected function renderLog_duration() + { + return c::renderKeyValue('log_duration', $this->log_duration); + } }