Remove the dump type from Notify method.
Remove the dump type from Notify method
xyz.openbmc_project.Dump.NewDump, the dump type is redundant
since there will be separate dump manager for each dump type.
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: Iabddd1755ceae50eba8dcf6c14fd417460e9820f
diff --git a/oem/ibm/libpldmresponder/file_io_type_dump.cpp b/oem/ibm/libpldmresponder/file_io_type_dump.cpp
index 38647ab..3486372 100644
--- a/oem/ibm/libpldmresponder/file_io_type_dump.cpp
+++ b/oem/ibm/libpldmresponder/file_io_type_dump.cpp
@@ -82,10 +82,8 @@
using namespace sdbusplus::xyz::openbmc_project::Dump::server;
auto method = bus.new_method_call(service.c_str(), dumpObjPath,
dumpInterface, "Notify");
- method.append(
- sdbusplus::xyz::openbmc_project::Dump::server::convertForMessage(
- NewDump::DumpType::System),
- fileHandle, length);
+ method.append(fileHandle, length);
+
bus.call_noreply(method);
}
catch (const std::exception& e)