]> arthur.barton.de Git - netdata.git/blobdiff - python.d/apache_cache.chart.py
Merge pull request #2021 from ktsaou/master
[netdata.git] / python.d / apache_cache.chart.py
index cf88a6895daf707ad4f507b343404e2fefebc5f9..3681a85112ec51762e245fe8b9a40ff05b87b933 100644 (file)
@@ -37,6 +37,10 @@ class Service(LogService):
             raw = self._get_raw_data()
             if raw is None:
                 return None
+            elif not raw:
+                return {'hit': 0,
+                        'miss': 0,
+                        'other': 0}
         except (ValueError, AttributeError):
             return None