ocp-diag-core icon indicating copy to clipboard operation
ocp-diag-core copied to clipboard

sample has invalid field "diagnosis.msg" instead of "diagnosis.message"

Open mimir-d opened this issue 1 week ago • 1 comments

  • 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

mimir-d avatar Nov 18 '25 18:11 mimir-d

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.

sdupere-git avatar Nov 18 '25 19:11 sdupere-git