diff options
author | Ravi Teja <raviteja28031990@gmail.com> | 2023-11-08 14:33:59 +0300 |
---|---|---|
committer | Gunnar Mills <gmills@us.ibm.com> | 2023-11-14 19:22:06 +0300 |
commit | 9e9d99dadc7fa1933b2dfbc66d34b72091674d60 (patch) | |
tree | f1106ec7b171ddaf048d8a0dce4f5a1d4bfedf69 /redfish-core | |
parent | 63509dd54c3290750961899125d588ea5f339023 (diff) | |
download | bmcweb-9e9d99dadc7fa1933b2dfbc66d34b72091674d60.tar.xz |
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>
Diffstat (limited to 'redfish-core')
-rw-r--r-- | redfish-core/lib/log_services.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp index 54284cfef2..5354f0a4c9 100644 --- a/redfish-core/lib/log_services.hpp +++ b/redfish-core/lib/log_services.hpp @@ -3063,7 +3063,7 @@ inline void requestRoutesBMCDumpEntryDownload(App& app) { 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 @@ inline void requestRoutesDBusEventLogEntryDownload(App& app) { 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")); |