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

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


The following commit has been merged in the debian/master branch:
commit da4631e53c84a11c64f785a653dce0e4d5b8909c
Author: Gerhard Lausser <gerhard.lausser at consol.de>
Date:   Sun Feb 12 12:14:25 2012 +0100

    Fix a bux in liveststatus cache which appears with deactivated cache

diff --git a/shinken/modules/livestatus_broker/livestatus_query_cache.py b/shinken/modules/livestatus_broker/livestatus_query_cache.py
index 86da341..e87a0a5 100644
--- a/shinken/modules/livestatus_broker/livestatus_query_cache.py
+++ b/shinken/modules/livestatus_broker/livestatus_query_cache.py
@@ -360,7 +360,7 @@ class LiveStatusQueryCache(object):
 
     def get_cached_query(self, data):
         if not self.enabled:
-            return (False, [])
+            return (False, False, [])
         query = QueryData(data)
         #print "I SEARCH THE CACHE FOR", query.category, query.key, data
         try:

-- 
UNNAMED PROJECT



More information about the Pkg-nagios-changes mailing list