summaryrefslogtreecommitdiff
path: root/redfish-core
diff options
context:
space:
mode:
authorJason M. Bills <jason.m.bills@intel.com>2023-08-14 21:55:17 +0300
committerEd Tanous <ed@tanous.net>2023-08-14 22:29:11 +0300
commit64466c0a89aa0c9ce78d1ad05f49abc257e27051 (patch)
tree4cff74c0273cc3c61b9dc4f14d579096135a4043 /redfish-core
parentbf2ddede1c5f68f81ece754f511aefdafcdb2815 (diff)
downloadbmcweb-64466c0a89aa0c9ce78d1ad05f49abc257e27051.tar.xz
Fix FanRemoved MessageArgs number
FanRemoved MessageArgs was mistakenly changed from 1 to 0. This changes it back to 1 to fix getting Internal Server Error on events. Tested: Confirmed that FanRemoved events can be retrieved without getting a 500 error code. Change-Id: I9a2a55a5ee3d2bea073d7d55ed9fe53dc2aaee9d Signed-off-by: Jason M. Bills <jason.m.bills@intel.com>
Diffstat (limited to 'redfish-core')
-rw-r--r--redfish-core/include/registries/openbmc_message_registry.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/include/registries/openbmc_message_registry.hpp b/redfish-core/include/registries/openbmc_message_registry.hpp
index 01b0312eea..85b6103cbf 100644
--- a/redfish-core/include/registries/openbmc_message_registry.hpp
+++ b/redfish-core/include/registries/openbmc_message_registry.hpp
@@ -477,7 +477,7 @@ constexpr std::array registry = {
"Indicates that a system fan has been removed.",
"%1 removed.",
"OK",
- 0,
+ 1,
{"string"},
"None.",
}},