diff options
author | Manojkiran Eda <manojkiran.eda@gmail.com> | 2021-04-21 20:16:14 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-05-04 19:32:06 +0300 |
commit | 4a0bf539728cada806fc7a16a208edc6332bdb86 (patch) | |
tree | 551d6dfd880fca1dd0b867a3356dea6d1049e47f /redfish-core/lib/log_services.hpp | |
parent | d3d26ba270b55ad0d76b45816fbc8fb6a8cd4489 (diff) | |
download | bmcweb-4a0bf539728cada806fc7a16a208edc6332bdb86.tar.xz |
Change the word TS to Time Stamp & add time unit
- The Message argument in the BIOSPOSTCode Message Entry
uses short form wording for TS (Time Stamp) & without any time unit.
- As the Message argument is directly displayed on OpenBMC GUI
as it is, word "TS" would create customer confusion due to it
not being a well known acronym. Also a field like this that
captures a physical quantity(time) should have units.
- Redfish clients should not be parsing the message argument, so
changing this wording should not break them.
- Also, this commit changes ":" to ";" in the Message argument to
makes things look consistent.
- As we changed the content of Message in the Message Entry, we had to
bump up the minor version of the Message registry.
Tested By:
1. Redfish Validator Passed.
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
Change-Id: I17924c2dfdcf34563f8f8cd325011e13cb70e476
Diffstat (limited to 'redfish-core/lib/log_services.hpp')
-rw-r--r-- | redfish-core/lib/log_services.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/lib/log_services.hpp b/redfish-core/lib/log_services.hpp index d229c48f7e..8464d06f2d 100644 --- a/redfish-core/lib/log_services.hpp +++ b/redfish-core/lib/log_services.hpp @@ -3176,7 +3176,7 @@ static void fillPostCodeEntry( { // Get the Message from the MessageRegistry const message_registries::Message* message = - message_registries::getMessage("OpenBMC.0.1.BIOSPOSTCode"); + message_registries::getMessage("OpenBMC.0.2.BIOSPOSTCode"); uint64_t currentCodeIndex = 0; nlohmann::json& logEntryArray = aResp->res.jsonValue["Members"]; @@ -3278,7 +3278,7 @@ static void fillPostCodeEntry( {"Name", "POST Code Log Entry"}, {"Id", postcodeEntryID}, {"Message", std::move(msg)}, - {"MessageId", "OpenBMC.0.1.BIOSPOSTCode"}, + {"MessageId", "OpenBMC.0.2.BIOSPOSTCode"}, {"MessageArgs", std::move(messageArgs)}, {"EntryType", "Event"}, {"Severity", std::move(severity)}, |