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
diff --git a/redfish-core/lib/sensors.hpp b/redfish-core/lib/sensors.hpp
index 52d1fc0..a3f1c23 100644
--- a/redfish-core/lib/sensors.hpp
+++ b/redfish-core/lib/sensors.hpp
@@ -814,7 +814,7 @@
}
else if (*asserted)
{
- return "wARNING";
+ return "Warning";
}
}
}