FIX: inconsistency in S3 inventory config (#11112)

Ensures it matches S3 inventory config generation in our hosting.
This commit is contained in:
Penar Musaraj
2020-11-05 08:39:40 -05:00
committed by GitHub
parent 2686d14b9a
commit 9f6c4ad71a
2 changed files with 22 additions and 1 deletions

View File

@ -270,7 +270,7 @@ class S3Inventory
def inventory_configuration
filter_prefix = type
filter_prefix = File.join(bucket_folder_path, filter_prefix) if bucket_folder_path.present?
filter_prefix = bucket_folder_path if bucket_folder_path.present?
{
destination: {