sdbus++: use non-deprecated namespaces
The sdbusplus repository has deprecated some namespaces and they are
currently only enabled with the SDBUSPP_REMOVE_DEPRECATED_NAMESPACE
guard. Switch to the new namespace names.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I9f67e74a02616d8ea2241c18758308f2b669672d
diff --git a/host_reset_recovery.cpp b/host_reset_recovery.cpp
index fe94f72..9579f30 100644
--- a/host_reset_recovery.cpp
+++ b/host_reset_recovery.cpp
@@ -88,11 +88,10 @@
"xyz.openbmc_project.State.Error.HostNotRunning";
auto method = bus.new_method_call(LOGGING_SVC, LOGGING_PATH,
LOGGING_CREATE_INTF, "Create");
- auto level =
- sdbusplus::xyz::openbmc_project::Logging::server::convertForMessage(
- sdbusplus::xyz::openbmc_project::Logging::server::Entry::Level::
- Error);
- method.append(errorMessage, level, additionalData);
+ method.append(errorMessage,
+ sdbusplus::server::xyz::openbmc_project::logging::Entry::
+ Level::Error,
+ additionalData);
auto resp = bus.call(method);
}
catch (const sdbusplus::exception_t& e)