Small Changes
This commit is contained in:
parent
2121e5a434
commit
75d1766e1a
@ -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], " / "))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user