@cryptotaxi247 / netdata-1 / commits / e7fa6b9a8

elasticsearch: typos;minor fixes

Ilya committed Jan 20, 2017 at 13:58 UTC e7fa6b9a80951c1dce13c655a0e5aeea6a1c1d45
1 file changed +2 -5
python.d/elasticsearch.chart.py
+2 -5
@@ -162,7 +162,7 @@ CHARTS = {
162 ['store_size_in_bytes', 'size', 'absolute', 1, 1048567]
163 ]},
164 'cluster_stats_indices_shards': {
165 - 'options': [None, 'Inidecs and shards statistics', 'count', 'Cluster stats API',
165 + 'options': [None, 'Indices and shards statistics', 'count', 'Cluster stats API',
166 'es.cluster_stats_ind_sha', 'stacked'],
167 'lines': [
168 ['indices_count', 'indices', 'absolute'],
@@ -256,10 +256,7 @@ class Service(UrlService):
256 thread.join()
257 result.update(queue.get())
258
259 - if result:
260 - return result
261 - else:
262 - return None
259 + return result or None
260
261 def _get_cluster_health(self, queue, url):
262 """