Update location interface
Before LocationCode was being set, but the bmcweb code used
LocationType. This change makes eStorageD use LocationType,
and not LocationCode.
Tested:
$ busctl introspect xyz.openbmc_project.eStoraged /xyz/openbmc_project/inventory/storage/mmcblk0
NAME TYPE
...
xyz.openbmc_project.Inventory.Connector.Embedded interface
...
Signed-off-by: John Edward Broadbent <jebr@google.com>
Change-Id: I3e077559fa00cccd8e0d4580fafadf4a2cdb40fd
diff --git a/include/estoraged.hpp b/include/estoraged.hpp
index af709a2..c7f0706 100644
--- a/include/estoraged.hpp
+++ b/include/estoraged.hpp
@@ -133,7 +133,7 @@
std::shared_ptr<sdbusplus::asio::dbus_interface> driveInterface;
/** @brief D-Bus interface for the location of the drive. */
- std::shared_ptr<sdbusplus::asio::dbus_interface> locationInterface;
+ std::shared_ptr<sdbusplus::asio::dbus_interface> embeddedLocationInterface;
/** @brief Association between chassis and drive. */
std::shared_ptr<sdbusplus::asio::dbus_interface> association;