From 7976d6d8051b92c911edfacd00d68712f78d102a Mon Sep 17 00:00:00 2001 From: Anis Elleuch Date: Sun, 27 Nov 2016 19:33:35 +0100 Subject: [PATCH] Continue listing incomplete uploads when we receive an error associated to a specific object (#1899) --- cmd/client-s3.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/client-s3.go b/cmd/client-s3.go index 2740a508..cf5fe1a0 100644 --- a/cmd/client-s3.go +++ b/cmd/client-s3.go @@ -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.