Combine handlers
Fix one comment made on [1] to combine method calls into a single one.
Tested: Unit tests pass, @Oliver Brewka need your help to sanity check
this.
[1] https://gerrit.openbmc.org/c/openbmc/bmcweb/+/83355
Change-Id: Iad90d57c6cd0fe3926186f238aba887b88e99c12
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/redfish-core/src/redfish.cpp b/redfish-core/src/redfish.cpp
index 5b0ed85..b176593 100644
--- a/redfish-core/src/redfish.cpp
+++ b/redfish-core/src/redfish.cpp
@@ -142,10 +142,7 @@
requestRoutesManagersEventLogService(app);
if constexpr (BMCWEB_REDFISH_DBUS_LOG)
{
- requestRoutesManagersDBusLogServiceActionsClear(app);
- requestRoutesManagersDBusEventLogEntryCollection(app);
- requestRoutesManagersDBusEventLogEntry(app);
- requestRoutesManagersDBusEventLogEntryDownload(app);
+ requestRoutesManagersDBusEventLog(app);
}
else
{