mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 00:08:11 +00:00
Use empty string for default runtime-config-override
This change ensures that we unnecessarily print warnings for runtimes where these configs are not applicable. This removes the following warnings: WARN[0000] Ignoring runtime-config-override flag for docker Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
9d4294450d
commit
89c12c1368
@ -160,7 +160,7 @@ func (m command) build() *cli.Command {
|
|||||||
Name: "runtime-config-override",
|
Name: "runtime-config-override",
|
||||||
Destination: &config.runtimeConfigOverrideJSON,
|
Destination: &config.runtimeConfigOverrideJSON,
|
||||||
Usage: "specify additional runtime options as a JSON string. The paths are relative to the runtime config.",
|
Usage: "specify additional runtime options as a JSON string. The paths are relative to the runtime config.",
|
||||||
Value: "{}",
|
Value: "",
|
||||||
EnvVars: []string{"RUNTIME_CONFIG_OVERRIDE"},
|
EnvVars: []string{"RUNTIME_CONFIG_OVERRIDE"},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user