Prevent crash in hw_diags when testing NVMe drives
This commit is contained in:
parent
7e78eb5dca
commit
6c37c344ce
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ def post_drive_results(ticket_number):
|
|||
|
||||
# Warnings (if any)
|
||||
if dev.get('NVMe Disk', False):
|
||||
if dev['Quick Health Ok']:
|
||||
if dev['Quick Health OK']:
|
||||
report.append('WARNING: NVMe support is still experimental')
|
||||
else:
|
||||
report.append('ERROR: NVMe disk is reporting critical warnings')
|
||||
|
|
|
|||
Loading…
Reference in a new issue