Fix NVMe/SMART attribute color logic

This commit is contained in:
2Shirt 2019-07-02 20:52:59 -06:00
parent d397cc22ad
commit a868d28452
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -94,9 +94,10 @@ ATTRIBUTES = {
},
}
ATTRIBUTE_COLORS = (
# NOTE: The order here is important; least important to most important.
('Warning', 'YELLOW'),
('Error', 'RED'),
('Maximum', 'PURPLE'),
('Warning', 'YELLOW'),
)
KEY_NVME = 'nvme_smart_health_information_log'
KEY_SMART = 'ata_smart_attributes'