mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
Merge pull request #659 from elezar/cherry-pick-89c12c1
Use empty string for default runtime-config-override
This commit is contained in:
commit
4324aeeeb1
@ -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"},
|
||||
},
|
||||
}
|
||||
|
@ -100,7 +100,7 @@ func TestMounts(t *testing.T) {
|
||||
lookup: &lookup.LocatorMock{
|
||||
LocateFunc: func(s string) ([]string, error) {
|
||||
if s == "error" {
|
||||
return nil, fmt.Errorf(s)
|
||||
return nil, fmt.Errorf("error")
|
||||
}
|
||||
return []string{s}, nil
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user