Merge pull request #659 from elezar/cherry-pick-89c12c1

Use empty string for default runtime-config-override
This commit is contained in:
Evan Lezar 2024-08-22 11:08:03 +02:00 committed by GitHub
commit 4324aeeeb1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

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

View File

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