mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-24 21:14:00 +00:00
e51621aa7f
If the config.toml has an empty root specified, this could be passed to the NVIDIA Container CLI through the --root flag which causes argument parsing to fail. This change only adds the --root flag if the config option is specified and is non-empty. Signed-off-by: Evan Lezar <elezar@nvidia.com> |
||
---|---|---|
.. | ||
capabilities_test.go | ||
capabilities.go | ||
container_config_test.go | ||
container_config.go | ||
hook_config_test.go | ||
hook_config.go | ||
hook_test.go | ||
main.go |