fix(health): mark PCIe link downgrade as FAIL instead of WARN #2
@ -122,7 +122,7 @@ class HealthCheck:
|
|||||||
pcie_ok = pw >= 8 # unknown GPU: just check width
|
pcie_ok = pw >= 8 # unknown GPU: just check width
|
||||||
if not pcie_ok:
|
if not pcie_ok:
|
||||||
overall_pass = False
|
overall_pass = False
|
||||||
checks["pcie_link"] = {"gen": pg, "width": pw, "status": "PASS" if pcie_ok else "WARN"}
|
checks["pcie_link"] = {"gen": pg, "width": pw, "status": "PASS" if pcie_ok else "FAIL"}
|
||||||
|
|
||||||
sm = self._safe_int(clock_sms[i] if i < len(clock_sms) else 0)
|
sm = self._safe_int(clock_sms[i] if i < len(clock_sms) else 0)
|
||||||
mm = self._safe_int(clock_mems[i] if i < len(clock_mems) else 0)
|
mm = self._safe_int(clock_mems[i] if i < len(clock_mems) else 0)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user