From 216097a84429cdd3ce9270e55935915079c6f5f1 Mon Sep 17 00:00:00 2001 From: Nikhil Ashoka Date: Thu, 11 Jul 2024 20:32:22 +0530 Subject: [PATCH] Updated LanesInUse default value - LanesInUse default value is changed to null. - JIRA: https://jsw.ibm.com/browse/PFEBMC-3025 - bmcweb change: https://github.com/ibm-openbmc/bmcweb/pull/851 - Slack discussion: https://ibm-systems-power.slack.com/archives/C0Q6TQP5Z/p1718139726901369 Signed-off-by: Nikhil Ashoka --- src/store/modules/HardwareStatus/PcieTopologyStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/modules/HardwareStatus/PcieTopologyStore.js b/src/store/modules/HardwareStatus/PcieTopologyStore.js index f9c247b74d..898ba229b8 100644 --- a/src/store/modules/HardwareStatus/PcieTopologyStore.js +++ b/src/store/modules/HardwareStatus/PcieTopologyStore.js @@ -758,7 +758,7 @@ const PcieTopologyStore = { if (slot?.pcieDevice) { row.linkSpeed = slot?.pcieDevice?.PCIeInterface?.PCIeType; row.linkWidth = - slot?.pcieDevice?.PCIeInterface?.LanesInUse === -1 + slot?.pcieDevice?.PCIeInterface?.LanesInUse === null ? 'unknown' : slot?.pcieDevice?.PCIeInterface?.LanesInUse; if (