Bugs corrected:

pull/979/head
Nicolargo 2016-09-21 11:40:37 +02:00
parent 8d01924c20
commit 52e714ce1d
2 changed files with 7 additions and 1 deletions

4
NEWS
View File

@ -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
=============

View File

@ -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'