summaryrefslogtreecommitdiff
path: root/aws.go
diff options
context:
space:
mode:
Diffstat (limited to 'aws.go')
-rw-r--r--aws.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/aws.go b/aws.go
index 40c452d..57aadd3 100644
--- a/aws.go
+++ b/aws.go
@@ -369,7 +369,6 @@ func (a *AwsConn) ListObjectPrefixes(bucket string) ([]string, error) {
err := a.s3svc.ListObjectsV2Pages(&s3.ListObjectsV2Input{
Bucket: aws.String(bucket),
Delimiter: aws.String("/"),
- MaxKeys: aws.Int64(1),
}, func(page *s3.ListObjectsV2Output, last bool) bool {
for _, r := range page.CommonPrefixes {
prefixes = append(prefixes, *r.Prefix)