Commit 8afbb32
committed
Allow file for config source to be specified explicitly
This change allows a "file" config source to also specify the source
path of the file to process. This means that when configuring containerd
with the option --config-source=file=/foo/bar.toml the file /foo/bar.toml
will be used as the source config instead of the output config file.
Signed-off-by: Evan Lezar <elezar@nvidia.com>1 parent 9aca232 commit 8afbb32
File tree
1 file changed
+12
-2
lines changed- cmd/nvidia-ctk-installer/container/runtime/containerd
1 file changed
+12
-2
lines changedLines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
| |||
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
181 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
182 | 185 | | |
183 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
184 | 191 | | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
185 | 195 | | |
186 | 196 | | |
187 | 197 | | |
| |||
0 commit comments