Skip to content

Set a default region to Workhorse S3 client

Stan Hu requested to merge sh-workhorse-default-region into master

By default, fog-aws uses "us-east-1" as the region (https://github.com/fog/fog-aws/blob/66a4183efb4ae4aa392fa7694ce2258636c6a714/lib/fog/aws/storage.rb#L271), but the AWS SDK does not. Transfers will fail if a region is not supplied:

MissingRegion: could not find region configuration

This commit sends Fog's default region (us-east-1) to ensure files get uploaded properly.

Edited by Stan Hu

Merge request reports

Loading