This commit is contained in:
Brian Buller 2023-05-25 09:40:59 -05:00
commit 4131d1be15
1 changed files with 1 additions and 1 deletions

View File

@ -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], " / "))
}
}
}