Combine handlers for systems eventlog
Following patch 85522 [1], combine the handlers in systems eventlog.
Tested: Unit tests pass.
[1] https://gerrit.openbmc.org/c/openbmc/bmcweb/+/85522
Change-Id: Ib1649de83e64abb289e0379139d0a75466e15257
Signed-off-by: Oliver Brewka <oliver.brewka@9elements.com>
diff --git a/redfish-core/src/redfish.cpp b/redfish-core/src/redfish.cpp
index b176593..7bc6760 100644
--- a/redfish-core/src/redfish.cpp
+++ b/redfish-core/src/redfish.cpp
@@ -124,16 +124,11 @@
requestRoutesSystemsEventLogService(app);
if constexpr (BMCWEB_REDFISH_DBUS_LOG)
{
- requestRoutesSystemsDBusLogServiceActionsClear(app);
- requestRoutesSystemsDBusEventLogEntryCollection(app);
- requestRoutesSystemsDBusEventLogEntry(app);
- requestRoutesSystemsDBusEventLogEntryDownload(app);
+ requestRoutesSystemsDBusEventLog(app);
}
else
{
- requestRoutesSystemsJournalEventLogEntryCollection(app);
- requestRoutesSystemsJournalEventLogEntry(app);
- requestRoutesSystemsJournalEventLogClear(app);
+ requestRoutesSystemsJournalEventLog(app);
}
}