mirror of
https://github.com/minio/minio.git
synced 2025-11-24 19:46:16 -05:00
fs: Use mimedb now.
This commit is contained in:
@@ -23,7 +23,6 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/minio/minio-xl/pkg/probe"
|
||||
"github.com/minio/minio/pkg/contentdb"
|
||||
)
|
||||
|
||||
// Filesystem - local variables
|
||||
@@ -81,11 +80,6 @@ func New(rootPath string, minFreeDisk int64, maxBuckets int) (Filesystem, *probe
|
||||
}
|
||||
}
|
||||
|
||||
// Initialize contentdb.
|
||||
if e := contentdb.Init(); e != nil {
|
||||
return Filesystem{}, probe.NewError(e)
|
||||
}
|
||||
|
||||
var buckets *Buckets
|
||||
buckets, err = loadBucketsMetadata()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user