[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, debian/master, updated. 810edbdd3feedbfe37f4a65bee50b57b2f60fa2a

Gerhard Lausser gerhard.lausser at consol.de
Tue Feb 28 22:16:22 UTC 2012


The following commit has been merged in the debian/master branch:
commit 5ba7f2e7dab6ef2471462597c8adafaab4dbcdb6
Author: Gerhard Lausser <gerhard.lausser at consol.de>
Date:   Thu Jan 26 21:45:27 2012 +0100

    Remove the servicegroup alias workaround in livestatus

diff --git a/shinken/modules/livestatus_broker/mapping.py b/shinken/modules/livestatus_broker/mapping.py
index b5b365b..085274b 100644
--- a/shinken/modules/livestatus_broker/mapping.py
+++ b/shinken/modules/livestatus_broker/mapping.py
@@ -1557,7 +1557,7 @@ livestatus_attribute_map = {
         },
         'alias': {
             'description': 'An alias of the service group',
-            'function': lambda item, req: getattr(item, 'alias', 'will_be_fixed_soon'),  # REPAIRME in test_livestatus there is an alias. in multisite there is none (Service has no attr. alias. hahaha liar)
+            'function': lambda item, req: item.alias,
         },
         'members': {
             'description': 'A list of all members of the service group as host/service pairs',

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list