lib/dumper/job.rb in dumper-1.6.0 vs lib/dumper/job.rb in dumper-1.6.1

- old
+ new

@@ -85,10 +85,10 @@ def upload_by_aws_sdk(json) log "uploading by aws-sdk v#{AWS::VERSION}" s3 = json[:s3_federation] - aws = AWS::S3.new(s3[:credentials]) + aws = AWS::S3.new s3[:credentials].merge(region: s3[:region]) retry_count = 0 begin aws.buckets[s3[:bucket]].objects[s3[:key]].write( file: @database.dump_path,