Merge pull request #421 from fkautz/pr_out_minor_modification_for_creating_temp_dir_in_api_test

master
Frederick F. Kautz IV 10 years ago
commit 646ce59bc5
  1. 2
      pkg/api/api_test.go

@ -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
}, },

Loading…
Cancel
Save