diff options
author | Nan Zhou <nanzhoumails@gmail.com> | 2022-10-14 01:28:36 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-10-18 00:13:44 +0300 |
commit | e28ce0e6787bda84a6d8fabee12cbb6cea94018c (patch) | |
tree | e9c78a7a94f3837ae81b8eac3042d34de45e9e7d /redfish-core/lib | |
parent | 525fc07224884d3640e5c4a1b6a551aee024f7bd (diff) | |
download | bmcweb-e28ce0e6787bda84a6d8fabee12cbb6cea94018c.tar.xz |
pcie: fix Members@odata.count
I believe this was a typo. We shouldn't return when a deviceId is not
found.
Tested: s7106 doesn't have PCIe backend configured. I tested it on
a downstream system and Members@odata.count shows up.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I38491caf8998fac5fafa0c0f07396cf32066348b
Diffstat (limited to 'redfish-core/lib')
-rw-r--r-- | redfish-core/lib/pcie.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/pcie.hpp b/redfish-core/lib/pcie.hpp index 13d5ab93eb..9bc2dbfcd7 100644 --- a/redfish-core/lib/pcie.hpp +++ b/redfish-core/lib/pcie.hpp @@ -322,7 +322,7 @@ inline void requestRoutesSystemPCIeFunctionCollection(App& app) } if (property == nullptr || !property->empty()) { - return; + continue; } nlohmann::json::object_t pcieFunction; pcieFunction["@odata.id"] = |