IcingaEndpoint: work on Zone, not on the id

fixes #878
This commit is contained in:
Thomas Gelf 2017-03-29 12:52:54 +02:00
parent 58ba7f9f86
commit 6234648a1f
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class IcingaEndpoint extends IcingaObject
public function getRenderingZone(IcingaConfig $config = null)
{
try {
if ($zone = $this->getResolvedProperty('zone_id')) {
if ($zone = $this->getResolvedRelated('zone')) {
return $zone->getRenderingZone($config);
}
} catch (NestingError $e) {