Small Changes

This commit is contained in:
Brian Buller 2023-02-22 21:49:01 -06:00
parent 2121e5a434
commit 75d1766e1a
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], " / "))
}
}
}