Refactoring file storage driver to fsstorage

This commit is contained in:
Frederick F. Kautz IV
2014-12-08 14:25:57 -08:00
parent 8a5b8ac90f
commit 0cf80e075e
5 changed files with 14 additions and 23 deletions

View File

@@ -8,7 +8,7 @@ import (
"path"
"github.com/gorilla/mux"
"github.com/minio-io/minio/pkgs/storage"
"github.com/minio-io/minio/pkgs/storage/fsstorage"
"github.com/tchap/go-patricia/patricia"
)
@@ -197,7 +197,7 @@ func InMemoryStorageDriver(bucket string, input chan ObjectRequest, config Gatew
}
func SimpleFileStorageDriver(bucket string, input chan ObjectRequest, config GatewayConfig) {
fileStorage := storage.FileStorage{
fileStorage := fsstorage.FileSystemStorage{
RootDir: config.dataDir,
}
for request := range input {