ipmid: Update sdbuspp namespaces
Fixed all errors when we remove
`SDBUSPP_REMOVE_DEPRECATED_NAMESPACE` in sdbusplus.
Change-Id: I5607585b2709faa7aee347d26e458ef769ca1626
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/storageaddsel.cpp b/storageaddsel.cpp
index b2ff317..fc7e9c0 100644
--- a/storageaddsel.cpp
+++ b/storageaddsel.cpp
@@ -21,7 +21,7 @@
using namespace std;
using namespace phosphor::logging;
-using namespace sdbusplus::xyz::openbmc_project::Logging::server;
+using namespace sdbusplus::server::xyz::openbmc_project::logging;
std::string readESEL(const char* fileName)
{
@@ -61,8 +61,8 @@
}
data[eSELData.size() * byteSeparator] = '\0';
- using error = sdbusplus::org::open_power::Host::Error::MaintenanceProcedure;
- using metadata = org::open_power::Host::MaintenanceProcedure;
+ using error = sdbusplus::error::org::open_power::host::MaintenanceProcedure;
+ using metadata = org::open_power::host::MaintenanceProcedure;
report<error>(metadata::ESEL(data.get()),
metadata::PROCEDURE(static_cast<uint32_t>(procedureNum)));