mirror of
https://github.com/discourse/discourse.git
synced 2025-02-07 20:08:26 +00:00
FIX s3_helper.list for buckets with folders
s3_bucket_folder_path does not contain a trailing slash so it was smashingstufftogether
This commit is contained in:
parent
ad9e0d6bea
commit
ff15d95983
@ -131,7 +131,7 @@ class S3Helper
|
||||
end
|
||||
|
||||
def list(prefix = "")
|
||||
s3_bucket.objects(prefix: @s3_bucket_folder_path.to_s + prefix)
|
||||
s3_bucket.objects(prefix: "#{@s3_bucket_folder_path}/#{prefix}")
|
||||
end
|
||||
|
||||
def tag_file(key, tags)
|
||||
|
Loading…
x
Reference in New Issue
Block a user