From 75d1766e1a830868416e2e7d56cff7bf25609e07 Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Wed, 22 Feb 2023 21:49:01 -0600 Subject: [PATCH] Small Changes --- boltease.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boltease.go b/boltease.go index 6ae1d4d..b57de61 100644 --- a/boltease.go +++ b/boltease.go @@ -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], " / ")) } } }