From bf60cb8c99db00d64d77f48a470b72bd390e2f3a Mon Sep 17 00:00:00 2001 From: Anis Elleuch Date: Sun, 27 Nov 2016 12:03:48 +0100 Subject: [PATCH] Avoid sending object information in the incomplete uploads list channel when an error is encountered --- api-list.go | 1 + 1 file changed, 1 insertion(+) diff --git a/api-list.go b/api-list.go index 795de6183e..adfaa0a7aa 100644 --- a/api-list.go +++ b/api-list.go @@ -482,6 +482,7 @@ func (c Client) listIncompleteUploads(bucketName, objectPrefix string, recursive objectMultipartStatCh <- ObjectMultipartInfo{ Err: err, } + continue } } select {