Files
ironic/releasenotes/notes/bug-2113877-fdb0c3a6ed8ee363.yaml
Iury Gregory Melo Ferreira 13df83eef7 Fix Sensor Data values
The value for some property in the sensor data is a dictionary
e.g.: 'state':{'_value_': 'Enabled',
               '_name_': 'ENABLED',
               '__objclass__': "<enum 'State'>"}

Which doesn't add useful information, this commit attempts to
prioritize sending only the `_value_` when possible.

Closes-Bug: #2113877
Change-Id: I44d07b637357040a5b9d1a975a50e6cbccfb43db
Signed-off-by: Iury Gregory Melo Ferreira <imelofer@redhat.com>
2025-06-27 22:52:09 -03:00

6 lines
155 B
YAML

---
fixes:
- |
Fixes the redfish sensor data output, before any enum value would be
treated as an object, now we consider their value as string.