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 23bab30 commit 1d7b1feCopy full SHA for 1d7b1fe
internal/store/store.go
@@ -43,13 +43,6 @@ func FactoryFromEnv(ctx context.Context) (Factory, error) {
43
if len(registry.Registry) == 0 {
44
return nil, errors.New("no store backends available in this build")
45
}
46
- // If we wanted, we could do this to fall back to bbolt if it were the only
47
- // thing linked into the binary:
48
- // if len(registry.Registry) == 1 {
49
- // if bbolt, ok := registry.Registry["bbolt"]; ok {
50
- // return bbolt.FactoryFromEnv(ctx)
51
- // }
52
53
54
candidates := make(map[string]registry.Entry)
55
for name, entry := range registry.Registry {
0 commit comments