Merge branch 'main' into fix/ignore-bucket-prefix
commit
8d8412209c
|
@ -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}, "/"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue