mirror of
https://github.com/pgsty/minio.git
synced 2026-08-10 16:23:28 +03:00
storage.ObjectStorage List() is now List(objectPath string)
This commit is contained in:
@@ -35,7 +35,7 @@ func (s *EncodedStorageSuite) TestFileStoragePutAtRootPath(c *C) {
|
||||
object1, _ := ioutil.ReadAll(objectResult1)
|
||||
c.Assert(string(object1), Equals, "object1")
|
||||
|
||||
objectList, err := objectStorage.List()
|
||||
objectList, err := objectStorage.List("")
|
||||
c.Assert(err, IsNil)
|
||||
c.Assert(objectList[0].Name, Equals, "path1")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user