"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 detection of bucket existing
Nick Craig-Wood801a820c542c
diff --git a/backend/s3/s3.go b/backend/s3/s3.goindex 10b0bc525..6e69006e3 100644--- a/backend/s3/s3.go+++ b/backend/s3/s3.go@@ -2446,11 +2446,6 @@ func (o *Object) readMetaData(ctx context.Context) (err error) {if err != nil {if awsErr, ok := err.(awserr.RequestFailure); ok {if awsErr.StatusCode() == http.StatusNotFound {- // NotFound indicates bucket was OK- // NoSuchBucket would be returned if bucket was bad- if awsErr.Code() == "NotFound" {- o.fs.cache.MarkOK(bucket)- }return fs.ErrorObjectNotFound}}