"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
azureblob: ignore AuthorizationFailure when trying to create a create a container
Nick Craig-Wood914fbe242cc1
diff --git a/backend/azureblob/azureblob.go b/backend/azureblob/azureblob.goindex 3631474e5..b3a20fc7f 100644--- a/backend/azureblob/azureblob.go+++ b/backend/azureblob/azureblob.go@@ -1222,6 +1222,11 @@ func (f *Fs) makeContainer(ctx context.Context, container string) error {time.Sleep(6 * time.Second) // default 10 retries will be 60 secondsf.cache.MarkDeleted(container)return true, err+ case bloberror.AuthorizationFailure:+ // Assume that the user does not have permission to+ // create the container and carry on anyway.+ fs.Debugf(f, "Tried to create container but got %s error - carrying on assuming container exists", storageErr.ErrorCode)+ return false, nil}}}