Skip to content

Commit 4324aee

Browse files
authored
Merge pull request #659 from elezar/cherry-pick-89c12c1
Use empty string for default runtime-config-override
2 parents 2ce78da + 6d7dd04 commit 4324aee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/nvidia-ctk/runtime/configure/configure.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ func (m command) build() *cli.Command {
160160
Name: "runtime-config-override",
161161
Destination: &config.runtimeConfigOverrideJSON,
162162
Usage: "specify additional runtime options as a JSON string. The paths are relative to the runtime config.",
163-
Value: "{}",
163+
Value: "",
164164
EnvVars: []string{"RUNTIME_CONFIG_OVERRIDE"},
165165
},
166166
}

internal/discover/mounts_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func TestMounts(t *testing.T) {
100100
lookup: &lookup.LocatorMock{
101101
LocateFunc: func(s string) ([]string, error) {
102102
if s == "error" {
103-
return nil, fmt.Errorf(s)
103+
return nil, fmt.Errorf("error")
104104
}
105105
return []string{s}, nil
106106
},

0 commit comments

Comments
 (0)