From 1f5123f72af5056d47afffb6794d37a212e71536 Mon Sep 17 00:00:00 2001 From: Christopher Desiniotis Date: Sun, 5 Mar 2023 20:14:04 -0800 Subject: [PATCH] Fix handling of envvars in toolkit container which modify the NVIDIA Container Runtime config Signed-off-by: Christopher Desiniotis --- tools/container/toolkit/toolkit.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/container/toolkit/toolkit.go b/tools/container/toolkit/toolkit.go index b44ad051..ea1281ad 100644 --- a/tools/container/toolkit/toolkit.go +++ b/tools/container/toolkit/toolkit.go @@ -312,9 +312,6 @@ func installToolkitConfig(toolkitConfigPath string, nvidiaContainerCliExecutable if value == "" { continue } - if config.Get(key) != nil { - continue - } config.Set(key, value) }