Commit c210c4c
committed
cvo: Add
Add a new flag instead of a new environment variable to specify the path of the
configuration file. Using env variables has the benefit of better backwards
compatibility, for example, specifying not used env variable has no impact. Using
a not-implemented flag results in an error. The flag is primarily intended for use
in HyperShift, thus, these topics are relevant.
In case the feature gate does not get into default, we must not drop the flag
out of nowhere, which could cause issues in HyperShift. However, the new API
is very small, and it is not likely for this functionality to be dropped
along the way. An alternative is to use an env variable before the feature gets
into default; however, I do not think this is worth the risk at the moment.config-file flag1 parent c410434 commit c210c4c
3 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
186 | 189 | | |
187 | 190 | | |
188 | 191 | | |
| |||
209 | 212 | | |
210 | 213 | | |
211 | 214 | | |
| 215 | + | |
212 | 216 | | |
213 | 217 | | |
214 | 218 | | |
| |||
237 | 241 | | |
238 | 242 | | |
239 | 243 | | |
| 244 | + | |
240 | 245 | | |
241 | 246 | | |
242 | 247 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
517 | 518 | | |
518 | 519 | | |
519 | 520 | | |
| 521 | + | |
520 | 522 | | |
521 | 523 | | |
522 | 524 | | |
| |||
0 commit comments