"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
b2: ignore already_hidden error on remove
Nick Craig-Wood5aa706831f13
diff --git a/backend/b2/b2.go b/backend/b2/b2.goindex 75dbd6783..d9e5cb967 100644--- a/backend/b2/b2.go+++ b/backend/b2/b2.go@@ -952,6 +952,13 @@ func (f *Fs) hide(Name string) error {return f.shouldRetry(resp, err)})if err != nil {+ if apiErr, ok := err.(*api.Error); ok {+ if apiErr.Code == "already_hidden" {+ // sometimes eventual consistency causes this, so+ // ignore this error since it is harmless+ return nil+ }+ }return errors.Wrapf(err, "failed to hide %q", Name)}return nil