aboutsummaryrefslogtreecommitdiff
path: root/cmd/bolt/keys.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bolt/keys.go')
-rw-r--r--cmd/bolt/keys.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/bolt/keys.go b/cmd/bolt/keys.go
index 56245b8..6affefe 100644
--- a/cmd/bolt/keys.go
+++ b/cmd/bolt/keys.go
@@ -22,7 +22,7 @@ func Keys(path, name string) {
err = db.View(func(tx *bolt.Tx) error {
// Find bucket.
- b := tx.Bucket(name)
+ b := tx.Bucket([]byte(name))
if b == nil {
fatalf("bucket not found: %s", name)
return nil