提交 3a896dbe 编写于 作者: N Nicolas Hennion

Correct issue on Windows SNMP client

上级 8b03f1a8
......@@ -6,6 +6,10 @@ Version 2.X
===========
* Add the RAID plugins (issue #447)
Version 2.2.1
=============
* Fix incorrect kernel thread detection with --hide-kernel-threads (issue #457)
* Handle IOError exception if no /etc/os-release to use Glances on Synology DSM (issue #458)
* Check issue error in client/server mode (issue #459)
......
......@@ -145,7 +145,7 @@ class Plugin(GlancesPlugin):
# Total CPU usage
msg = '{0:>5}%'.format(self.stats['total'])
if idle_tag:
ret.append(self.curse_add_line(msg, self.get_alert_log(self.stats['total']), header="system"))
ret.append(self.curse_add_line(msg, self.get_alert_log(self.stats['total'], header="system")))
else:
ret.append(self.curse_add_line(msg))
# Nice CPU
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册