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

Naparuba naparuba at gmail.com
Tue Feb 28 22:20:01 UTC 2012


The following commit has been merged in the debian/master branch:
commit 3c1db8af69664e491b8419cf8908645901762a97
Author: Naparuba <naparuba at gmail.com>
Date:   Tue Feb 7 16:00:51 2012 +0100

    Fix : in the Comment LS table, it was calling a description property, the good name is comment.

diff --git a/shinken/modules/livestatus_broker/mapping.py b/shinken/modules/livestatus_broker/mapping.py
index 04fd1f0..beedc1c 100644
--- a/shinken/modules/livestatus_broker/mapping.py
+++ b/shinken/modules/livestatus_broker/mapping.py
@@ -2482,7 +2482,7 @@ livestatus_attribute_map = {
         },
         'comment': {
             'description': 'A comment text',
-            'function': lambda item, req: item.description,
+            'function': lambda item, req: item.comment,
         },
         'entry_time': {
             'description': 'The time the entry was made as UNIX timestamp',

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list