summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 1453a4b11f..058852c62c 100644
--- a/redfish-core/lib/log_services.hpp
+++ b/redfish-core/lib/log_services.hpp
@@ -1313,7 +1313,7 @@ inline void requestRoutesSystemLogServiceCollection(App& app)
logServiceArray.emplace_back(std::move(dumpLog));
}
- if constexpr (BMCWEB_REDFISH_DUMP_LOG)
+ if constexpr (BMCWEB_REDFISH_CPU_LOG)
{
nlohmann::json::object_t crashdump;
crashdump["@odata.id"] =