diff options
author | Steven Noonan <steven@uplinklabs.net> | 2017-09-09 08:14:02 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2017-09-09 08:22:40 -0700 |
commit | 61dbe88ef1b1d8d927c6eb13bd00046113841cd2 (patch) | |
tree | ad23998088d572bd0d945d1e60ff249fdb41dc72 /python.d | |
parent | 488c9ab42ad01cb3ced008d762c62183d4d8fde9 (diff) |
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>
Diffstat (limited to 'python.d')
-rw-r--r-- | python.d/cpufreq.chart.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/python.d/cpufreq.chart.py b/python.d/cpufreq.chart.py index d5544b7ba3..87f71f5748 100644 --- a/python.d/cpufreq.chart.py +++ b/python.d/cpufreq.chart.py @@ -60,9 +60,6 @@ class Service(SimpleService): if accurate_ok: return data - else: - self.alert("accurate method failed, falling back") - self.accurate_exists = False for name, paths in self.assignment.items(): |