Change metadata on Critical high/low sensor errors
Feedback from the field shows it would be useful to
have information about the sensors that are too high
or low in the metadata rather than the type.
This is a free format metadata string field so that
the code that creates this error can put in whatever
metadata it thinks is necessary, ideally including
information about the sensor(s) in question.
Tested: Built repository
Change-Id: I6f790a314d132bfbdc45c90a13f9c3831163c2f1
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/xyz/openbmc_project/Sensor/Threshold.metadata.yaml b/xyz/openbmc_project/Sensor/Threshold.metadata.yaml
index fa5ff1e..1ebaf51 100644
--- a/xyz/openbmc_project/Sensor/Threshold.metadata.yaml
+++ b/xyz/openbmc_project/Sensor/Threshold.metadata.yaml
@@ -1,10 +1,10 @@
- name: CriticalHigh
level: ERR
meta:
- - str: "SENSOR_TYPE=%s"
+ - str: "SENSOR_DATA=%s"
type: string
- name: CriticalLow
level: ERR
meta:
- - str: "SENSOR_TYPE=%s"
+ - str: "SENSOR_DATA=%s"
type: string