Bootstrap secrets for shared configuration acquisition

This commit is contained in:
2026-11-23 04:20:31 +00:00
parent f87c45331c
commit 1ca5011049
13 changed files with 422 additions and 24 deletions

View File

@@ -26,7 +26,7 @@ func TestLoadCombinesApplicationAndPromptSettings(t *testing.T) {
t.Fatal(err)
}
}
result, err := Load(ck.Input{Source: ck.File(filepath.Join(dir, "config.yml"))}, "selected")
result, _, err := Load(context.Background(), ck.Input{Source: ck.File(filepath.Join(dir, "config.yml"))}, "selected")
if err != nil {
t.Fatal(err)
}
@@ -62,7 +62,7 @@ func TestLoadWithoutMainDoesNotDiscoverCompanions(t *testing.T) {
t.Fatal(err)
}
t.Chdir(dir)
result, err := Load(ck.Input{Source: ck.NoSource()}, "")
result, _, err := Load(context.Background(), ck.Input{Source: ck.NoSource()}, "")
if err != nil {
t.Fatal(err)
}