Skip to content

A platform for community discussion. Free, open, simple.

DEV: `S3Inventory#unsorted_files` should always return an array (#8034)

Osama Sayegh68708db72188
diff --git a/lib/s3_inventory.rb b/lib/s3_inventory.rb
index b69f4a0e719..b98e2e99094 100644
--- a/lib/s3_inventory.rb
+++ b/lib/s3_inventory.rb
@@ -265,6 +265,7 @@ class S3Inventory
objects
rescue Aws::Errors::ServiceError => e
log("Failed to list inventory from S3", e)
+ []
end
def inventory_id