Prevent crash in hw_diags when testing NVMe drives

This commit is contained in:
2Shirt 2018-10-01 19:36:19 -06:00
parent 7e78eb5dca
commit 6c37c344ce
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -534,7 +534,7 @@ def post_drive_results(ticket_number):
# Warnings (if any) # Warnings (if any)
if dev.get('NVMe Disk', False): if dev.get('NVMe Disk', False):
if dev['Quick Health Ok']: if dev['Quick Health OK']:
report.append('WARNING: NVMe support is still experimental') report.append('WARNING: NVMe support is still experimental')
else: else:
report.append('ERROR: NVMe disk is reporting critical warnings') report.append('ERROR: NVMe disk is reporting critical warnings')