This repository was archived by the owner on Sep 22, 2020. It is now read-only.
Commit 1e71b27
committed
main: handle unknown version case
If Ignition was unable to parse the config as an Ignition Config, Cloud
Config, or script, it will return ErrUnknownVersion. This was ignored
before which resulted in the validator claiming that the config was
valid. This catches that case and returns an error.1 parent 038f4eb commit 1e71b27
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
105 | 113 | | |
106 | 114 | | |
107 | 115 | | |
| |||
0 commit comments