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:
Evan Lezar 2024-08-19 11:21:03 +02:00
parent 9d4294450d
commit 89c12c1368

View File

@ -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"},
}, },
} }