Merge branch 'fix-toolkit-ctr-envvars' into 'main'

Fix handling of envvars in toolkit container which modify the NVIDIA Container Runtime config

See merge request nvidia/container-toolkit/container-toolkit!317
This commit is contained in:
Evan Lezar 2023-03-06 07:36:03 +00:00
commit 28b10d2ee0

View File

@ -312,9 +312,6 @@ func installToolkitConfig(toolkitConfigPath string, nvidiaContainerCliExecutable
if value == "" {
continue
}
if config.Get(key) != nil {
continue
}
config.Set(key, value)
}