Change the name from Immediate to On-Demand for CPU Log
The name "Immediate" was confusing, so changing the name to
"OnDemand" to make it's purpose more clear.
Tested:
Used Postman to send a POST to "/redfish/v1/Systems/system/
LogServices/CpuLog/Actions/Oem/CpuLog.OnDemand" and verified
that the expected On-Demand data was returned.
Change-Id: If9b6b30e1c424227601fb6b7381470f571afca9e
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 38832c2..49cface 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -89,7 +89,7 @@
nodes.emplace_back(std::make_unique<CPULogService>(app));
nodes.emplace_back(std::make_unique<CPULogEntryCollection>(app));
nodes.emplace_back(std::make_unique<CPULogEntry>(app));
- nodes.emplace_back(std::make_unique<ImmediateCPULog>(app));
+ nodes.emplace_back(std::make_unique<OnDemandCPULog>(app));
#ifdef BMCWEB_ENABLE_REDFISH_RAW_PECI
nodes.emplace_back(std::make_unique<SendRawPECI>(app));
#endif // BMCWEB_ENABLE_REDFISH_RAW_PECI