Merge branch 'main' into fix/ignore-bucket-prefix

main
Anton Vorobiev 2021-06-15 19:13:35 +02:00 committed by GitHub
commit 8d8412209c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func (s *S3Enumerator) Enumerate() ([]string, error) {
if aws.Int64Value(metadata.Size) > 0 { if aws.Int64Value(metadata.Size) > 0 {
key := *metadata.Key key := *metadata.Key
if match, _ := doublestar.Match(fullPattern, key); match { if match, _ := doublestar.Match(fullPattern, key); match {
files = append(files, filepath.Join(bucket, key)) files = append(files, strings.Join([]string{bucket, key}, "/"))
} }
} }
} }