Commit e347291
committed
Fix the validation of incompatible options
All clients must be validated, not only the first one (which was the case
due to returning during the first iteration of the loop over clients).
The easiest way to handle it is to put the validation inside the prototype
node, so that each client is validated separately. This also allows to have
a better error message (as the error message will tell you which client is
invalid as the error will be inside the client configuration node).
The error message is also fixed to talk about the third incompatible features.1 parent 6c8dc49 commit e347291
1 file changed
+7
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | 158 | | |
169 | 159 | | |
170 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
171 | 168 | | |
172 | 169 | | |
173 | 170 | | |
| |||
0 commit comments