diff options
author | James Feist <james.feist@linux.intel.com> | 2019-10-03 02:42:22 +0300 |
---|---|---|
committer | James Feist <james.feist@linux.intel.com> | 2019-10-10 20:46:40 +0300 |
commit | 49d734ff2f17f5f623e60e52a144d6304866aad3 (patch) | |
tree | d64d66d82f8ad04773d905266a4bb7316149a227 /redfish-core/lib/update_service.hpp | |
parent | f55cc5666488c964e5a60749a5f01e9d02b86a38 (diff) | |
download | bmcweb-49d734ff2f17f5f623e60e52a144d6304866aad3.tar.xz |
SoftwareInventory: Catch more interfaces
Expand the path to a larger namespace, and allow non
updateable interfaces to not error out.
Tested: More interfaces appeared without error
Change-Id: I4a6e3092c868cb5f3fe66401269d5c99f69328c8
Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'redfish-core/lib/update_service.hpp')
-rw-r--r-- | redfish-core/lib/update_service.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/redfish-core/lib/update_service.hpp b/redfish-core/lib/update_service.hpp index 9e72fa7483..a3d7196162 100644 --- a/redfish-core/lib/update_service.hpp +++ b/redfish-core/lib/update_service.hpp @@ -511,8 +511,7 @@ class SoftwareInventoryCollection : public Node }, "xyz.openbmc_project.ObjectMapper", "/xyz/openbmc_project/object_mapper", - "xyz.openbmc_project.ObjectMapper", "GetSubTree", - "/xyz/openbmc_project/software", int32_t(1), + "xyz.openbmc_project.ObjectMapper", "GetSubTree", "/", int32_t(0), std::array<const char *, 1>{ "xyz.openbmc_project.Software.Version"}); } @@ -720,8 +719,7 @@ class SoftwareInventory : public Node }, "xyz.openbmc_project.ObjectMapper", "/xyz/openbmc_project/object_mapper", - "xyz.openbmc_project.ObjectMapper", "GetSubTree", - "/xyz/openbmc_project/software", int32_t(1), + "xyz.openbmc_project.ObjectMapper", "GetSubTree", "/", int32_t(0), std::array<const char *, 1>{ "xyz.openbmc_project.Software.Version"}); } |