Change-Id: I198bb2f869cc7177b9ecafdd8932bbf2b58be5b8
This commit is contained in:
JT Olio 2020-11-28 12:32:56 -07:00 committed by Stefan Benten
parent d8ba7b3057
commit 70b91aac54

View File

@ -11,7 +11,6 @@ import (
"storj.io/common/macaroon"
"storj.io/common/storj"
"storj.io/common/uuid"
"storj.io/storj/satellite/metainfo"
"storj.io/storj/satellite/metainfo/metabase"
"storj.io/storj/satellite/satellitedb/dbx"
)
@ -20,11 +19,6 @@ type bucketsDB struct {
db *satelliteDB
}
// Buckets returns database for interacting with buckets.
func (db *satelliteDB) Buckets() metainfo.BucketsDB {
return &bucketsDB{db: db}
}
// CreateBucket creates a new bucket.
func (db *bucketsDB) CreateBucket(ctx context.Context, bucket storj.Bucket) (_ storj.Bucket, err error) {
defer mon.Task()(&ctx)(&err)