summaryrefslogtreecommitdiff
path: root/redfish-core/lib/update_service.hpp
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2019-10-03 02:42:22 +0300
committerJames Feist <james.feist@linux.intel.com>2019-10-10 20:46:40 +0300
commit49d734ff2f17f5f623e60e52a144d6304866aad3 (patch)
treed64d66d82f8ad04773d905266a4bb7316149a227 /redfish-core/lib/update_service.hpp
parentf55cc5666488c964e5a60749a5f01e9d02b86a38 (diff)
downloadbmcweb-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.hpp6
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"});
}