satellitedb: remove cruft caused by https://review.dev.storj.io/c/storj/storj/+/3223
Change-Id: I198bb2f869cc7177b9ecafdd8932bbf2b58be5b8
This commit is contained in:
parent
d8ba7b3057
commit
70b91aac54
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user