"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: fix crash on startup
Nick Craig-Woodcb97c2b0d39b
diff --git a/backend/azureblob/azureblob.go b/backend/azureblob/azureblob.goindex 8be08eb27..ff055b029 100644--- a/backend/azureblob/azureblob.go+++ b/backend/azureblob/azureblob.go@@ -648,6 +648,11 @@ func NewFs(ctx context.Context, name, root string, m configmap.Mapper) (fs.Fs, eif err != nil {return nil, errors.Wrapf(err, "Failed to parse credentials")}++ u, err = url.Parse(fmt.Sprintf("https://%s.%s", opt.Account, opt.Endpoint))+ if err != nil {+ return nil, errors.Wrap(err, "failed to make azure storage url from account and endpoint")+ }pipeline := f.newPipeline(credential, azblob.PipelineOptions{Retry: azblob.RetryOptions{TryTimeout: maxTryTimeout}})serviceURL = azblob.NewServiceURL(*u, pipeline)case opt.SASURL != "":