mirror of
https://github.com/nicolargo/glances.git
synced 2024-11-28 05:42:57 +03:00
Bugs corrected:
This commit is contained in:
parent
8d01924c20
commit
52e714ce1d
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'
|
||||
|
Loading…
Reference in New Issue
Block a user