[icinga-checkins] icinga.org: icingaweb2-module-director/master: IcingaService: correctly prefix host properties

git at icinga.org git at icinga.org
Thu Nov 3 20:03:22 CET 2016


Module: icingaweb2-module-director
Branch: master
Commit: a656ca406739b14b7b7fa618aebb018d9349da30
URL:    https://git.icinga.org/?p=icingaweb2-module-director.git;a=commit;h=a656ca406739b14b7b7fa618aebb018d9349da30

Author: Thomas Gelf <thomas at gelf.net>
Date:   Thu Nov  3 20:02:51 2016 +0100

IcingaService: correctly prefix host properties

fixes #13040

---

 library/Director/Objects/IcingaService.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/Director/Objects/IcingaService.php b/library/Director/Objects/IcingaService.php
index 0fea06e..64c5f22 100644
--- a/library/Director/Objects/IcingaService.php
+++ b/library/Director/Objects/IcingaService.php
@@ -389,7 +389,7 @@ class IcingaService extends IcingaObject
         $hostProps = mt('director', 'Host properties');
         $hostVars  = mt('director', 'Host Custom variables');
 
-        $hostProperties = IcingaHost::enumProperties($connection);
+        $hostProperties = IcingaHost::enumProperties($connection, 'host.');
 
         if (array_key_exists($hostProps, $hostProperties)) {
             $p = $hostProperties[$hostProps];



More information about the icinga-checkins mailing list