Fix Dump and EventLog URI
This commit fixes the Dump and EventLog URI while registering
BMCWEB_ROUTE
Commit 168d1b1ac forgot to include the "/" at the end. Add that.
Tested By:
GET /redfish/v1/Managers/bmc/LogServices/Dump/Entries/id/attachment/
Change-Id: Ie8a4d8a1d5fa2b508499cc578efe531d06185c1a
Signed-off-by: Ravi Teja <raviteja28031990@gmail.com>
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index 54284cf..5354f0a 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -3063,7 +3063,7 @@
{
BMCWEB_ROUTE(
app,
- "/redfish/v1/Managers/bmc/LogServices/Dump/Entries/<str>/attachment")
+ "/redfish/v1/Managers/bmc/LogServices/Dump/Entries/<str>/attachment/")
.privileges(redfish::privileges::getLogEntry)
.methods(boost::beast::http::verb::get)(std::bind_front(
handleLogServicesDumpEntryDownloadGet, std::ref(app), "BMC"));
@@ -3094,7 +3094,7 @@
{
BMCWEB_ROUTE(
app,
- "/redfish/v1/Systems/<str>/LogServices/EventLog/Entries/<str>/attachment")
+ "/redfish/v1/Systems/<str>/LogServices/EventLog/Entries/<str>/attachment/")
.privileges(redfish::privileges::getLogEntry)
.methods(boost::beast::http::verb::get)(std::bind_front(
handleDBusEventLogEntryDownloadGet, std::ref(app), "System"));