diff options
| author | Muhammad Hallaj bin Subery <hallaj@users.noreply.github.com> | 2023-02-06 13:24:21 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-05 21:24:21 -0800 |
| commit | 9bd422d2c93ec330f4e64484c4473f0f2ca15bb6 (patch) | |
| tree | eae3f98c4322f87c23a5a0b252c55fb777852780 /weed/remote_storage | |
| parent | 84e9934bf9143076fba5cbe0e2251a6628576202 (diff) | |
| download | seaweedfs-9bd422d2c93ec330f4e64484c4473f0f2ca15bb6.tar.xz seaweedfs-9bd422d2c93ec330f4e64484c4473f0f2ca15bb6.zip | |
adding support for B2 region (#4177)
Co-authored-by: Muhammad Hallaj bin Subery <hallaj@tuta.io>
Diffstat (limited to 'weed/remote_storage')
| -rw-r--r-- | weed/remote_storage/s3/backblaze.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/remote_storage/s3/backblaze.go b/weed/remote_storage/s3/backblaze.go index 4daf7bcce..49f9f3ed9 100644 --- a/weed/remote_storage/s3/backblaze.go +++ b/weed/remote_storage/s3/backblaze.go @@ -27,7 +27,7 @@ func (s BackBlazeRemoteStorageMaker) Make(conf *remote_pb.RemoteConf) (remote_st } config := &aws.Config{ Endpoint: aws.String(conf.BackblazeEndpoint), - Region: aws.String("us-west-002"), + Region: aws.String(conf.BackblazeRegion), S3ForcePathStyle: aws.Bool(true), S3DisableContentMD5Validation: aws.Bool(true), } |
