diff --git a/cmd/client-s3.go b/cmd/client-s3.go index 10756958..0872ed77 100644 --- a/cmd/client-s3.go +++ b/cmd/client-s3.go @@ -2192,12 +2192,6 @@ func (c *S3Client) listInRoutine(ctx context.Context, contentCh chan *ClientCont } return } - - // Avoid sending an empty directory when we are specifically listing it - if strings.HasSuffix(object.Key, string(c.targetURL.Separator)) && o == object.Key { - continue - } - contentCh <- c.objectInfo2ClientContent(b, object) } }