@cryptotaxi247 / netdata-1 / commits / 7fbaa2e9f

skip first line of output (empty)

Dominik Schloesser committed Sep 2, 2017 at 12:37 UTC 7fbaa2e9fc6ad08d495e005e5da2210f7a12cf25
1 file changed +1 -1
python.d/chrony.chart.py
+1 -1
@@ -79,7 +79,7 @@ class Service(ExecutableService):
79 lines = self._get_raw_data()
80 if lines is not None:
81 chrony_dict = {}
82 - for line in lines:
82 + for line in lines[1:]:
83 lparts = line.split(':', 1)
84 value = lparts[1].strip().split(' ')[0]
85 chrony_dict[lparts[0].strip()] = value