"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
dropbox: fix result chans not taken care by defer fun
Mistyff966b37af0b
diff --git a/backend/dropbox/batcher.go b/backend/dropbox/batcher.goindex f6fd1ad27..d057724f0 100644--- a/backend/dropbox/batcher.go+++ b/backend/dropbox/batcher.go@@ -144,7 +144,7 @@ func (b *batcher) commitBatch(ctx context.Context, items []*files.UploadSessionF// If commit fails then signal clients if syncvar signalled = b.asyncdefer func() {- if err != nil && signalled {+ if err != nil && !signalled {// Signal to clients that there was an errorfor _, result := range results {result <- batcherResponse{err: err}