summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Boyer <Charles.Boyer@fii-usa.com>2021-06-15 16:29:29 +0300
committerCharles Boyer <Charles.Boyer@fii-usa.com>2021-06-15 16:46:03 +0300
commitf9a6708c4c6490257e2eb6a8c04458f500902476 (patch)
treecfd7aedb1406ab481e73877a5ffa56e1b6813009
parent938f25685f4b93d632fe5169cf5e258164538114 (diff)
downloadbmcweb-f9a6708c4c6490257e2eb6a8c04458f500902476.tar.xz
log_services: Fix system dump entries route
With redfish-dump-log enabled, the bmcweb service would throw a runtime error and exit because the dump entries routes for Managers and Systems were the same. The Systems dump entries route should be '/redfish/v1/Systems/system/LogServices/Dump/Entries/' Tested: With redfish-dump-log enabled, - bmcweb service does not throw runtime error - Redfish Service Validator passes Signed-off-by: Charles Boyer <Charles.Boyer@fii-usa.com> Change-Id: I0ffd19bfc643cb8a3be3c5c2cd88c270ec974267
-rw-r--r--redfish-core/lib/log_services.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp
index ea53d18b13..d3a5f6f9a5 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -2210,7 +2210,7 @@ inline void requestRoutesSystemDumpEntryCollection(App& app)
/**
* Functions triggers appropriate requests on DBus
*/
- BMCWEB_ROUTE(app, "/redfish/v1/Managers/bmc/LogServices/Dump/Entries/")
+ BMCWEB_ROUTE(app, "/redfish/v1/Systems/system/LogServices/Dump/Entries/")
.privileges({"Login"})
.methods(boost::beast::http::verb::get)(
[](const crow::Request&,