storage.ObjectStorage List() is now List(objectPath string)

This commit is contained in:
Frederick F. Kautz IV
2014-12-15 15:55:35 +13:00
parent 16e92521bd
commit 5efc0d54f8
6 changed files with 23 additions and 18 deletions
@@ -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")
}