flightstats / hub

fault tolerant, highly available service for data storage and distribution
http://www.flightstats.com
MIT License
103 stars 35 forks source link

Refactor HubS3Client, removing bucketName #1338

Closed lucasmo closed 1 year ago

lucasmo commented 1 year ago

bucketName always referred to the main bucket name, despite it only being used in error messages. Refactor HubS3Client to not hold on to a bucket name, as this leads to invalid and confusing errors when the error actually happens elsewhere (like the DR bucket).

No functional change expected.