提交 52e714ce 编写于 作者: N Nicolargo

Bugs corrected:

上级 8d01924c
......@@ -9,6 +9,10 @@ Enhancements and new features:
* Highlight max stats in the processes list (issue #878)
Bugs corrected:
* Glances RAID plugin Traceback (issue #927)
Version 2.7.1
=============
......
......@@ -145,6 +145,8 @@ class Plugin(GlancesPlugin):
"""
if status == 'inactive':
return 'CRITICAL'
if used < available:
if used is None or available is None:
return 'DEFAULT'
elif used < available:
return 'WARNING'
return 'OK'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册