Commit ed7697f
committed
validator: Handle missing $ref's gracefully
From time to time $ref schemas may be missing due to each schema getting
applied at different times or a change makes the schema invalid (and
testing was ignored). Instead of this resulting in a backtrace splats
return a false schema so only validation fails if used.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>1 parent 0d2c239 commit ed7697f
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
427 | 431 | | |
428 | 432 | | |
429 | 433 | | |
| |||
0 commit comments