cpufreq.chart.py: fix accurate mode
It needs to fail one iteration so there's something to calculate deltas against (the first iteration has no prior data). Once it has the first pass, all future iterations will use the accurate mode data, if it's available. Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Steven Noonan committed
Sep 9, 2017 at 08:14 UTC
61dbe88ef1b1d8d927c6eb13bd00046113841cd2
1 file changed
-3
python.d/cpufreq.chart.py
-3
@@ -60,9 +60,6 @@ class Service(SimpleService):
60
61
if accurate_ok:
62
return data
63
- else:
64
- self.alert("accurate method failed, falling back")
65
- self.accurate_exists = False
63
64
65
for name, paths in self.assignment.items():