mirror of
https://github.com/nicolargo/glances.git
synced 2026-03-17 21:37:27 -04:00
Bugs corrected:
This commit is contained in:
4
NEWS
4
NEWS
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user