mirror of
https://github.com/minio/minio.git
synced 2025-11-07 04:42:56 -05:00
Minor modification for creating temp dir in api test
This commit is contained in:
@@ -65,7 +65,7 @@ var _ = Suite(&MySuite{
|
|||||||
|
|
||||||
var _ = Suite(&MySuite{
|
var _ = Suite(&MySuite{
|
||||||
initDriver: func() (drivers.Driver, string) {
|
initDriver: func() (drivers.Driver, string) {
|
||||||
root, _ := ioutil.TempDir(os.TempDir(), "minio-api-fs")
|
root, _ := ioutil.TempDir(os.TempDir(), "minio-api")
|
||||||
_, _, driver := file.Start(root)
|
_, _, driver := file.Start(root)
|
||||||
return driver, root
|
return driver, root
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user