We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f77af8a commit 97f7ea5Copy full SHA for 97f7ea5
1 file changed
cr_module/storage.py
@@ -659,7 +659,9 @@ def get_drive(drive_link):
659
storage_port = dell_disk_data.get("Connector")
660
# mitigate issue with unsupported Disks for Dell server
661
# https://github.com/bb-Ricardo/check_redfish/issues/165
662
- if predicted_media_life_left_percent == 0 and dell_disk_data.get("AvailableSparePercent") is None:
+ if predicted_media_life_left_percent == 0 and (
663
+ dell_disk_data.get("AvailableSparePercent") is None or
664
+ dell_disk_data.get("Certified") == "No"):
665
predicted_media_life_left_percent = None
666
667
physical_location = grab(drive_response, "PhysicalLocation.PartLocation")
0 commit comments