Provide path parameter to GetObject()
In the new yielding getService() method, the GetObject() is
missing the path paramter before the array of interfaces.
Tested:
Ran an IPMI command using the yielding getService() method and
confirmed that it successfully gets the D-Bus service and data.
Change-Id: I30e57100d22e1e74271c8ef0659eb6c22e30beff
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
diff --git a/libipmid/utils.cpp b/libipmid/utils.cpp
index 7c8e0c8..8d225ee 100644
--- a/libipmid/utils.cpp
+++ b/libipmid/utils.cpp
@@ -413,7 +413,7 @@
ctx->bus->yield_method_call<decltype(mapperResponse)>(
ctx->yield, ec, "xyz.openbmc_project.ObjectMapper",
"/xyz/openbmc_project/object_mapper",
- "xyz.openbmc_project.ObjectMapper", "GetObject",
+ "xyz.openbmc_project.ObjectMapper", "GetObject", path,
std::vector<std::string>({intf}));
if (!ec)