fs/bucket: Move bucket metadata into buckets.json

This commit is contained in:
Harshavardhana
2015-11-01 20:56:54 -08:00
parent 38aa7e1678
commit ab15f56a61
7 changed files with 165 additions and 74 deletions

View File

@@ -38,7 +38,8 @@ func (s *MySuite) TestAPISuite(c *C) {
c.Check(err, IsNil)
path, err := ioutil.TempDir(os.TempDir(), "minio-")
c.Check(err, IsNil)
SetFSMultipartsConfigPath(filepath.Join(configPath, "multiparts.json"))
SetFSMultipartsConfigPath(filepath.Join(configPath, "multiparts-session.json"))
SetFSBucketsConfigPath(filepath.Join(configPath, "buckets.json"))
storageList = append(storageList, path)
store, perr := New()
store.SetRootPath(path)