summaryrefslogtreecommitdiff
path: root/redfish-core/include/redfish.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/include/redfish.hpp')
-rw-r--r--redfish-core/include/redfish.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/include/redfish.hpp b/redfish-core/include/redfish.hpp
index 38832c23d6..49cfacee65 100644
--- a/redfish-core/include/redfish.hpp
+++ b/redfish-core/include/redfish.hpp
@@ -89,7 +89,7 @@ class RedfishService
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