diff options
author | Ed Tanous <edtanous@google.com> | 2022-01-12 23:38:17 +0300 |
---|---|---|
committer | Ed Tanous <edtanous@google.com> | 2022-01-12 23:38:17 +0300 |
commit | ebe4d91e8fece8c292395ccfd45d87a3546fd821 (patch) | |
tree | d7836a276e6b3c68c3837f802796fabf8a3446b4 /redfish-core/lib/sensors.hpp | |
parent | 9bc9dc0ab999850adfb97f7a5d4ceff73951430e (diff) | |
download | bmcweb-ebe4d91e8fece8c292395ccfd45d87a3546fd821.tar.xz |
Fix regresssion in name
It's unclear whether clang-format lost its mind, or if I did this
unintentionally, but it's clearly wrong, and for systems that have
sensors in warning, causes a ERROR - Health: Value wARNING Enum not
found in ['OK', 'Warning', 'Critical'] error in the service validator.
Fix this.
Tested: Code compiles, revert.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: If79654fd7026080c89de0ece2c553e6edf97fd8f
Diffstat (limited to 'redfish-core/lib/sensors.hpp')
-rw-r--r-- | redfish-core/lib/sensors.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/sensors.hpp b/redfish-core/lib/sensors.hpp index 52d1fc0574..a3f1c23814 100644 --- a/redfish-core/lib/sensors.hpp +++ b/redfish-core/lib/sensors.hpp @@ -814,7 +814,7 @@ inline std::string } else if (*asserted) { - return "wARNING"; + return "Warning"; } } } |