ocp-diag-core
ocp-diag-core copied to clipboard
sample has invalid field "diagnosis.msg" instead of "diagnosis.message"
- at least one sample (may be more), https://github.com/opencomputeproject/ocp-diag-core/blob/main/validators/spec_validator/samples/sensor_monitor_test.jsonl#L516 uses a field "msg" where the correct name should be "message"
- https://github.com/opencomputeproject/ocp-diag-core/tree/main/json_spec#description-1
todo:
- [ ] check that the validator actually runs against all the samples
The ONLY sample that uses message is: pcie_test.jsonl
All other samples use msg.
This means the ONLY correct sample (out of all of them) is pcie_test.jsonl currently.