We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d7b1fe commit 1abcefaCopy full SHA for 1abcefa
internal/store/store.go
@@ -44,10 +44,10 @@ func FactoryFromEnv(ctx context.Context) (Factory, error) {
44
return nil, errors.New("no store backends available in this build")
45
}
46
47
- candidates := make(map[string]registry.Entry)
+ candidates := make(map[string]struct{})
48
for name, entry := range registry.Registry {
49
if envHasAny(entry.EnvironmentKeys...) {
50
- candidates[name] = entry
+ candidates[name] = struct{}{}
51
52
53
0 commit comments