From 89c12c1368f7d75404e212785735d6bc454b1d01 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Mon, 19 Aug 2024 11:21:03 +0200 Subject: [PATCH] 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 --- cmd/nvidia-ctk/runtime/configure/configure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/nvidia-ctk/runtime/configure/configure.go b/cmd/nvidia-ctk/runtime/configure/configure.go index 6f8f42f3..6dc95913 100644 --- a/cmd/nvidia-ctk/runtime/configure/configure.go +++ b/cmd/nvidia-ctk/runtime/configure/configure.go @@ -160,7 +160,7 @@ func (m command) build() *cli.Command { Name: "runtime-config-override", Destination: &config.runtimeConfigOverrideJSON, Usage: "specify additional runtime options as a JSON string. The paths are relative to the runtime config.", - Value: "{}", + Value: "", EnvVars: []string{"RUNTIME_CONFIG_OVERRIDE"}, }, }