tree-wide: change EM's ObjectManager path
EntityManager moves its ObjectManager in commit [1], this patch is to
change accordingly. Please see [1] for why we made that change.
[1] https://gerrit.openbmc.org/c/openbmc/entity-manager/+/57279
Tested: code compiles. Code inspection can show that only ObjectManager
path changed.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: I770e977a5aa76af8ca79f550dcb5f81fa585a66b
diff --git a/storagehandler.cpp b/storagehandler.cpp
index 34ca0b9..08fdda7 100644
--- a/storagehandler.cpp
+++ b/storagehandler.cpp
@@ -732,8 +732,8 @@
}
ipmi::ObjectValueTree managedObjects;
- ec = getManagedObjects(ctx, "xyz.openbmc_project.EntityManager", "/",
- managedObjects);
+ ec = getManagedObjects(ctx, "xyz.openbmc_project.EntityManager",
+ "/xyz/openbmc_project/inventory", managedObjects);
if (!ec)
{
auto connection = managedObjects.find(fruPath);