Label failing disk attributes in reports
This commit is contained in:
parent
a71d56e473
commit
b1a68e20d7
1 changed files with 3 additions and 1 deletions
|
|
@ -316,7 +316,9 @@ class DiskObj():
|
||||||
if ATTRIBUTES[attr_type][k][_t]:
|
if ATTRIBUTES[attr_type][k][_t]:
|
||||||
if v['raw'] >= ATTRIBUTES[attr_type][k][_t]:
|
if v['raw'] >= ATTRIBUTES[attr_type][k][_t]:
|
||||||
_color = COLORS[_c]
|
_color = COLORS[_c]
|
||||||
if _t == 'Maximum':
|
if _t == 'Error':
|
||||||
|
_note = '(failed)'
|
||||||
|
elif _t == 'Maximum':
|
||||||
_note = '(invalid?)'
|
_note = '(invalid?)'
|
||||||
|
|
||||||
# 199/C7 warning
|
# 199/C7 warning
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue