[icinga-checkins] icinga.org: icinga-web/mhein/default: * Fixed wrong alias preventing hostgroup-principals to work in statehistory (#fixes 2059)

git at icinga.org git at icinga.org
Wed Nov 16 14:38:39 CET 2011


Module: icinga-web
Branch: mhein/default
Commit: ee159f1332e72fce1e418aef3eb3a87f5996305d
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=ee159f1332e72fce1e418aef3eb3a87f5996305d

Author: Jannis Mosshammer <jannis.mosshammer at netways.de>
Date:   Tue Nov 15 08:29:38 2011 +0100

* Fixed wrong alias preventing hostgroup-principals to work in statehistory (#fixes 2059)

---

 .../LegacyLayer/TargetModifierModel.class.php      |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php b/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php
index 857149a..34e1d7b 100644
--- a/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php
+++ b/app/modules/Api/models/Store/LegacyLayer/TargetModifierModel.class.php
@@ -638,9 +638,9 @@ class Api_Store_LegacyLayer_TargetModifierModel extends IcingaStoreTargetModifie
                                        "ocg"=> array("src" => "cg", "relation" => "object"),
                                        "cgm"=> array("src" => "cg", "relation" => "members"),
                                        "oc" => array("src" => "cgm", "relation" => "object"),
-                                       "hg" => array("src" => "s", "relation" => "hostgroups"),
-                                       "hgm" => array("src" => "sg", "relation" => "members"),
-                                       "ohg" => array("src" => "sg", "relation" => "object"),
+                                       "hg" => array("src" => "h", "relation" => "hostgroups"),
+                                       "hgm" => array("src" => "hg", "relation" => "members"),
+                                       "ohg" => array("src" => "hg", "relation" => "object"),
                                        "cvss"=> array("src" => "s","relation" => "customvariablestatus"),
                                        "cvsh"=> array("src" => "h", "relation" => "customvariablestatus"),
                                        "cvsc"=> array("src" => "cgm", "relation" => "customvariablestatus")





More information about the icinga-checkins mailing list