diff options
author | Konstantin Aladyshev <aladyshev22@gmail.com> | 2023-07-10 15:00:38 +0300 |
---|---|---|
committer | Konstantin Aladyshev <aladyshev22@gmail.com> | 2023-07-11 18:17:55 +0300 |
commit | 82f80326afb1e1cfd6b682d4fa2f75319c83004f (patch) | |
tree | 99f7ef7e5d68205822abdc5bbfc1718062a46b45 /Redfish.md | |
parent | 9bb0a7fe3c5dd3c3c9056dec7a37896af347912b (diff) | |
download | bmcweb-82f80326afb1e1cfd6b682d4fa2f75319c83004f.tar.xz |
Omit Slot "Lanes" property if it is equal to 0
In the context of a PCIeSlot the 0 value for the 'Lanes' property
means undefined. According to the bmcweb guidelines, DBus properties
with "unknown"/"unspecified" values should be omitted from the Redfish
tree. Therefore don't populate 'Lanes' property if it is equal to 0.
Tested: validator passed
Change-Id: Ic3d142dd8b10da2367d73c370d5480208ba1510a
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com>
Diffstat (limited to 'Redfish.md')
0 files changed, 0 insertions, 0 deletions