Continue listing incomplete uploads when we receive an error associated to a specific object (#1899)

This commit is contained in:
Anis Elleuch
2016-11-27 10:33:35 -08:00
committed by Harshavardhana
parent df395786bd
commit 7976d6d805
+4 -4
View File
@@ -948,7 +948,7 @@ func (c *s3Client) listIncompleteInRoutine(contentCh chan *clientContent) {
contentCh <- &clientContent{
Err: probe.NewError(object.Err),
}
return
continue
}
content := &clientContent{}
url := *c.targetURL
@@ -979,7 +979,7 @@ func (c *s3Client) listIncompleteInRoutine(contentCh chan *clientContent) {
contentCh <- &clientContent{
Err: probe.NewError(object.Err),
}
return
continue
}
content := &clientContent{}
url := *c.targetURL
@@ -1025,7 +1025,7 @@ func (c *s3Client) listIncompleteRecursiveInRoutine(contentCh chan *clientConten
contentCh <- &clientContent{
Err: probe.NewError(object.Err),
}
return
continue
}
url := *c.targetURL
url.Path = filepath.Join(url.Path, bucket.Name, object.Key)
@@ -1044,7 +1044,7 @@ func (c *s3Client) listIncompleteRecursiveInRoutine(contentCh chan *clientConten
contentCh <- &clientContent{
Err: probe.NewError(object.Err),
}
return
continue
}
url := *c.targetURL
// Join bucket and incoming object key.