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

Signed-off-by: Christopher Desiniotis <cdesiniotis@nvidia.com>
This commit is contained in:
Christopher Desiniotis 2023-03-05 20:14:04 -08:00
parent fa28e738c6
commit 1f5123f72a

View File

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