Donut mode will now take multiple paths as argument, updated docs as well

This commit is contained in:
Harshavardhana
2015-04-23 11:26:47 -07:00
parent 7c17a60d1f
commit 5ae8d34f76
4 changed files with 67 additions and 27 deletions

View File

@@ -70,7 +70,9 @@ var _ = Suite(&MySuite{
var _ = Suite(&MySuite{
initDriver: func() (drivers.Driver, string) {
root, _ := ioutil.TempDir(os.TempDir(), "minio-api")
_, _, driver := donut.Start(root)
var roots []string
roots = append(roots, root)
_, _, driver := donut.Start(roots)
return driver, root
},
})