Small Changes

This commit is contained in:
Brian Buller 2023-02-22 21:49:01 -06:00
parent 2121e5a434
commit 75d1766e1a

View File

@ -318,7 +318,7 @@ func (b *DB) GetBucketList(path []string) ([]string, error) {
for idx := 1; idx < len(path); idx++ { for idx := 1; idx < len(path); idx++ {
bkt = bkt.Bucket([]byte(path[idx])) bkt = bkt.Bucket([]byte(path[idx]))
if bkt == nil { if bkt == nil {
return fmt.Errorf("Couldn't find bucket " + strings.Join(path[:idx], " / ")) return fmt.Errorf("Couldn't find bucket " + strings.Join(path[:idx+1], " / "))
} }
} }
} }