From 6234648a1ffe74a7239b2ab30a3bb3b7afafc6dc Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Wed, 29 Mar 2017 12:52:54 +0200 Subject: [PATCH] IcingaEndpoint: work on Zone, not on the id fixes #878 --- library/Director/Objects/IcingaEndpoint.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/Objects/IcingaEndpoint.php b/library/Director/Objects/IcingaEndpoint.php index d84994f4..33d1b734 100644 --- a/library/Director/Objects/IcingaEndpoint.php +++ b/library/Director/Objects/IcingaEndpoint.php @@ -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) {