[no-relnote] Remove unused runtimeConfigOverideJSON variable

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2025-04-03 09:17:49 +02:00
parent c4f46e7354
commit 01e55461e8
No known key found for this signature in database

View File

@ -72,8 +72,6 @@ type config struct {
mode string mode string
hookFilePath string hookFilePath string
runtimeConfigOverrideJSON string
nvidiaRuntime struct { nvidiaRuntime struct {
name string name string
path string path string
@ -208,11 +206,6 @@ func (m command) validateFlags(c *cli.Context, config *config) error {
config.cdi.enabled = false config.cdi.enabled = false
} }
if config.runtimeConfigOverrideJSON != "" && config.runtime != "containerd" {
m.logger.Warningf("Ignoring runtime-config-override flag for %v", config.runtime)
config.runtimeConfigOverrideJSON = ""
}
switch config.configSource { switch config.configSource {
case configSourceCommand: case configSourceCommand:
if config.runtime == "docker" { if config.runtime == "docker" {