diff --git a/library/Director/Objects/IcingaHost.php b/library/Director/Objects/IcingaHost.php index f690b44a..ff8f1b2b 100644 --- a/library/Director/Objects/IcingaHost.php +++ b/library/Director/Objects/IcingaHost.php @@ -252,8 +252,14 @@ class IcingaHost extends IcingaObject implements ExportInterface $config->configFile($pre . 'agent_zones')->addObject($zone); } + /** + // @codingStandardsIgnoreStart + * @param $value + * @return string + */ protected function renderCustom_endpoint_name($value) { + // @codingStandardsIgnoreEnd // When feature flag feature_custom_endpoint is enabled, render custom var if ($this->connection->settings()->get('feature_custom_endpoint') === 'y') { return c::renderKeyValue('vars._director_custom_endpoint_name', c::renderString($value));