"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
swift: ignore 404 error when deleting an object
Nick Craig-Wooddb8c007983ef
diff --git a/backend/swift/swift.go b/backend/swift/swift.goindex 7806dd505..95163d912 100644--- a/backend/swift/swift.go+++ b/backend/swift/swift.go@@ -1558,6 +1558,10 @@ func (o *Object) Remove(ctx context.Context) (err error) {// Remove file/manifest firsterr = o.fs.pacer.Call(func() (bool, error) {err = o.fs.c.ObjectDelete(ctx, container, containerPath)+ if err == swift.ObjectNotFound {+ fs.Errorf(o, "Dangling object - ignoring: %v", err)+ err = nil+ }return shouldRetry(ctx, err)})if err != nil {