Merge branch 'main' of https://git.bullercodeworks.com/brian/boltease into main
This commit is contained in:
commit
4131d1be15
@ -318,7 +318,7 @@ func (b *DB) GetBucketList(path []string) ([]string, error) {
|
||||
for idx := 1; idx < len(path); idx++ {
|
||||
bkt = bkt.Bucket([]byte(path[idx]))
|
||||
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], " / "))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user