From c08f032533138fe8919cf28eb3489e5fb4f66519 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Mon, 16 May 2022 09:25:51 -0700 Subject: Fix regression in brace initialization 1476687de introduced a regression because of a simple copy/paste transcription error. Unfortunately, dump logs aren't enabled on a majority of systems, so this typo wasn't caught in the tested statement for that commit, but was only caught in later CI. Tested: Code compiles, code inspection (regression resolution) Signed-off-by: Ed Tanous Change-Id: I98297546be3ed624e21461edbe8c5781287787db --- redfish-core/lib/log_services.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'redfish-core/lib/log_services.hpp') diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp index 5980071ba9..8ab94cc670 100644 --- a/redfish-core/lib/log_services.hpp +++ b/redfish-core/lib/log_services.hpp @@ -928,7 +928,7 @@ inline void requestRoutesSystemLogServiceCollection(App& app) logServiceArray.push_back(std::move(eventLog)); #ifdef BMCWEB_ENABLE_REDFISH_DUMP_LOG nlohmann::json::object_t dumpLog; - eventLog["@odata.id"] = + dumpLog["@odata.id"] = "/redfish/v1/Systems/system/LogServices/Dump"; logServiceArray.push_back(std::move(dumpLog)); #endif -- cgit v1.2.3