From 457fb859e4fdd1c8cbe5f856418d7bda6bda326d Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Thu, 3 Dec 2015 18:02:57 +0100 Subject: [PATCH] IcingaCommand/Endpoint: fix typo --- library/Director/Objects/IcingaCommand.php | 2 +- library/Director/Objects/IcingaEndpoint.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'); } }