IcingaCommand/Endpoint: fix typo

This commit is contained in:
Thomas Gelf 2015-12-03 18:02:57 +01:00
parent d8d12d38b4
commit 457fb859e4
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ class IcingaCommand extends IcingaObject
protected function renderTimeout()
{
return $this->renderPropertyAsSecond('timeout');
return $this->renderPropertyAsSeconds('timeout');
}
public static function setPluginDir($pluginDir)

View File

@ -24,6 +24,6 @@ class IcingaEndpoint extends IcingaObject
protected function renderLog_duration()
{
return $this->renderPropertyAsSecond('log_duration');
return $this->renderPropertyAsSeconds('log_duration');
}
}