summaryrefslogtreecommitdiff
path: root/redfish-core/lib/log_services.hpp
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-05-16 19:25:51 +0300
committerEd Tanous <ed@tanous.net>2022-05-16 20:03:45 +0300
commitc08f032533138fe8919cf28eb3489e5fb4f66519 (patch)
tree3b819e334f85d99a97ae3e64b893f811893540a2 /redfish-core/lib/log_services.hpp
parentc02a74f8504bc42d6e03721aa426d043b6658820 (diff)
downloadbmcweb-c08f032533138fe8919cf28eb3489e5fb4f66519.tar.xz
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 <edtanous@google.com> Change-Id: I98297546be3ed624e21461edbe8c5781287787db
Diffstat (limited to 'redfish-core/lib/log_services.hpp')
-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 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