Skip to content

Commit 1d7b1fe

Browse files
committed
(clean up note; see previous commit)
1 parent 23bab30 commit 1d7b1fe

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

internal/store/store.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,6 @@ func FactoryFromEnv(ctx context.Context) (Factory, error) {
4343
if len(registry.Registry) == 0 {
4444
return nil, errors.New("no store backends available in this build")
4545
}
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-
// }
5346

5447
candidates := make(map[string]registry.Entry)
5548
for name, entry := range registry.Registry {

0 commit comments

Comments
 (0)