
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>
6 lines
155 B
YAML
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.
|