support sdbusplus::message::object_path
Since lg2 already supports sdbusplus::message::object_path,
it needs to be updated synchronously.
Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I4d81fac0d0acaf069381099e541ce2ac578d632e
diff --git a/fault-monitor/fru-fault-monitor.cpp b/fault-monitor/fru-fault-monitor.cpp
index d0f5d00..dca07a1 100644
--- a/fault-monitor/fru-fault-monitor.cpp
+++ b/fault-monitor/fru-fault-monitor.cpp
@@ -156,9 +156,7 @@
// Nothing else shows when a specific error log
// has been created. Do it here.
- // TODO:(phosphor-logging#25): support sdbusplus::message::object_path
- // directly.
- lg2::info("{PATH} created", "PATH", objectPath.str);
+ lg2::info("{PATH} created", "PATH", objectPath);
auto attr = iter->second.find("Associations");
if (attr == iter->second.end())