server: Remove max-buckets option and now max buckets is unlimited.

minio server max-buckets option removed. min-free-disk option is
now a flag.
This commit is contained in:
Harshavardhana
2016-02-06 18:22:50 -08:00
parent e7fec22224
commit f4c8120cf9
5 changed files with 25 additions and 64 deletions

View File

@@ -143,7 +143,7 @@ func getNewWebAPI(conf cloudServerConfig) *WebAPI {
// getNewCloudStorageAPI instantiate a new CloudStorageAPI.
func getNewCloudStorageAPI(conf cloudServerConfig) CloudStorageAPI {
fs, err := fs.New(conf.Path, conf.MinFreeDisk, conf.MaxBuckets)
fs, err := fs.New(conf.Path, conf.MinFreeDisk)
fatalIf(err.Trace(), "Initializing filesystem failed.", nil)
return CloudStorageAPI{