XL/multipart: statPart should ignore errDiskNotFound. (#1862)

startPart should also take uploadId and partName as arguments.
This commit is contained in:
Harshavardhana
2016-06-07 18:15:04 -07:00
parent d13e6e7156
commit 51f3d4e0ca
7 changed files with 372 additions and 72 deletions

View File

@@ -42,7 +42,7 @@ func (s *MySuite) TestFSAPISuite(c *C) {
return objAPI
}
APITestSuite(c, create)
defer removeRoots(c, storageList)
defer removeRootsC(c, storageList)
}
func (s *MySuite) TestXLAPISuite(c *C) {
@@ -64,10 +64,10 @@ func (s *MySuite) TestXLAPISuite(c *C) {
return objAPI
}
APITestSuite(c, create)
defer removeRoots(c, storageList)
defer removeRootsC(c, storageList)
}
func removeRoots(c *C, roots []string) {
func removeRootsC(c *C, roots []string) {
for _, root := range roots {
os.RemoveAll(root)
}