nvidia-container-toolkit/cmd/nvidia-container-runtime-hook
Evan Lezar e51621aa7f Handle empty root in config
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>
2023-07-19 14:02:23 +02:00
..
capabilities_test.go Rename -toolkit executable to -runtime-hook 2022-07-08 12:09:11 +02:00
capabilities.go Rename -toolkit executable to -runtime-hook 2022-07-08 12:09:11 +02:00
container_config_test.go Return empty requirements if NVIDIA_DISABLE_REQUIRE is true 2023-07-11 13:47:37 +02:00
container_config.go Return empty requirements if NVIDIA_DISABLE_REQUIRE is true 2023-07-11 13:47:37 +02:00
hook_config_test.go Use toml representation to get defaults 2023-05-08 11:26:53 +02:00
hook_config.go Use toml representation to get defaults 2023-05-08 11:26:53 +02:00
hook_test.go Rename -toolkit executable to -runtime-hook 2022-07-08 12:09:11 +02:00
main.go Handle empty root in config 2023-07-19 14:02:23 +02:00