diff --git a/library/Director/Objects/IcingaCommand.php b/library/Director/Objects/IcingaCommand.php index 67c47c7b..6ed0d21f 100644 --- a/library/Director/Objects/IcingaCommand.php +++ b/library/Director/Objects/IcingaCommand.php @@ -74,7 +74,7 @@ class IcingaCommand extends IcingaObject protected function renderTimeout() { - return $this->renderPropertyAsSecond('timeout'); + return $this->renderPropertyAsSeconds('timeout'); } public static function setPluginDir($pluginDir) diff --git a/library/Director/Objects/IcingaEndpoint.php b/library/Director/Objects/IcingaEndpoint.php index 1c8cbb48..8e0048ff 100644 --- a/library/Director/Objects/IcingaEndpoint.php +++ b/library/Director/Objects/IcingaEndpoint.php @@ -24,6 +24,6 @@ class IcingaEndpoint extends IcingaObject protected function renderLog_duration() { - return $this->renderPropertyAsSecond('log_duration'); + return $this->renderPropertyAsSeconds('log_duration'); } }