summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@linux.intel.com>2019-02-27 03:00:37 +0300
committerEd Tanous <ed.tanous@intel.com>2019-03-18 19:54:35 +0300
commitf9fc2dfff6446eccfa19b1e6a06d7cc297a552c6 (patch)
tree990007ae2ebc61c3b1b87d58b02544b5e1691ea7
parent9a99f65403e957bd9c867b4651f03cb8e3d3ea72 (diff)
downloadbmcweb-f9fc2dfff6446eccfa19b1e6a06d7cc297a552c6.tar.xz
Fix Entries path to point to Systems/system
The corrected Entries path for the CPU LogService did not get updated with the move from Managers/bmc to Systems/system, so this change fixes it. Tested: Checked that the Entries path points to Systems/system and that it correctly leads to the Entries resource. Change-Id: I1897d43a428408c7a9f16d06747f3654bc8a7e35 Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
-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 d15837d640..61cbd9e03d 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -946,7 +946,7 @@ class CPULogService : public Node
asyncResp->res.jsonValue["MaxNumberOfRecords"] = 3;
asyncResp->res.jsonValue["Entries"] = {
{"@odata.id",
- "/redfish/v1/Managers/bmc/LogServices/CpuLog/Entries"}};
+ "/redfish/v1/Systems/system/LogServices/CpuLog/Entries"}};
asyncResp->res.jsonValue["Actions"] = {
{"Oem",
{{"#CpuLog.Immediate",