mirror of
https://github.com/pgsty/minio.git
synced 2026-08-08 23:33:30 +03:00
Use errorChannels only for services not for drivers, reduce them to use simple functions
This commit is contained in:
@@ -40,7 +40,8 @@ func (s *MySuite) TestAPISuite(c *C) {
|
||||
c.Check(err, IsNil)
|
||||
storageList = append(storageList, p)
|
||||
paths = append(paths, p)
|
||||
_, _, store := Start(paths, 1000000, 3*time.Hour)
|
||||
store, err := NewDriver(paths, 1000000, 3*time.Hour)
|
||||
c.Check(err, IsNil)
|
||||
return store
|
||||
}
|
||||
drivers.APITestSuite(c, create)
|
||||
|
||||
Reference in New Issue
Block a user