"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
s3: fix bucket Region auto detection when Region unset in config #2915
Nick Craig-Wood80d2f38192ca
diff --git a/backend/s3/s3.go b/backend/s3/s3.goindex 0b66088dc..364de40d1 100644--- a/backend/s3/s3.go+++ b/backend/s3/s3.go@@ -1188,9 +1188,6 @@ func s3Connection(opt *Options) (*s3.S3, *session.Session, error) {return nil, nil, errors.New("secret_access_key not found")}- if opt.Region == "" && opt.Endpoint == "" {- opt.Endpoint = "https://s3.amazonaws.com/"- }if opt.Region == "" {opt.Region = "us-east-1"}