Commit 2f7d04e
authored
tree schema BUGFIX module revision invalid order message (#2547)
The [standard](https://datatracker.ietf.org/doc/html/rfc7950#section-7.1.9)
says that:
> [...] a new [revision] SHOULD be added in front of the revisions
> sequence so that all revisions are in reverse chronological order
The actual error message was misleading, saying that an older revision
was found after a new revision. That is actually a correct order. The
check was correct, but the error message should have said that the older
revision was found *before* a newer one.
We actually "fixed" our YANG models based on this diagnostic message,
only to revert that later on.1 parent 728958a commit 2f7d04e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
| 94 | + | |
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| |||
0 commit comments